org.apache.http.nio.reactor.ssl
Class ReleasableSSLBufferManagementStrategy

java.lang.Object
  extended by org.apache.http.nio.reactor.ssl.ReleasableSSLBufferManagementStrategy
All Implemented Interfaces:
SSLBufferManagementStrategy

public class ReleasableSSLBufferManagementStrategy
extends Object
implements SSLBufferManagementStrategy

A SSLBufferManagementStrategy that releases the underlying buffer when deactivated.


Constructor Summary
ReleasableSSLBufferManagementStrategy()
           
 
Method Summary
 SSLBuffer constructBuffer(int size)
          Creates a SSLBuffer of size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleasableSSLBufferManagementStrategy

public ReleasableSSLBufferManagementStrategy()
Method Detail

constructBuffer

public SSLBuffer constructBuffer(int size)
Description copied from interface: SSLBufferManagementStrategy
Creates a SSLBuffer of size.

Specified by:
constructBuffer in interface SSLBufferManagementStrategy
Parameters:
size - size of the buffer to create
Returns:
constructed buffer


Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.