Package org.apache.http.nio.reactor.ssl
Class ReleasableSSLBufferManagementStrategy
- java.lang.Object
-
- org.apache.http.nio.reactor.ssl.ReleasableSSLBufferManagementStrategy
-
- All Implemented Interfaces:
SSLBufferManagementStrategy
public class ReleasableSSLBufferManagementStrategy extends java.lang.Object implements SSLBufferManagementStrategy
ASSLBufferManagementStrategy
that releases the underlying buffer when deactivated.
-
-
Constructor Summary
Constructors Constructor Description ReleasableSSLBufferManagementStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLBuffer
constructBuffer(int size)
Creates aSSLBuffer
ofsize
.
-
-
-
Method Detail
-
constructBuffer
public SSLBuffer constructBuffer(int size)
Description copied from interface:SSLBufferManagementStrategy
Creates aSSLBuffer
ofsize
.- Specified by:
constructBuffer
in interfaceSSLBufferManagementStrategy
- Parameters:
size
- size of the buffer to create- Returns:
- constructed buffer
-
-