Uses of Interface
org.apache.http.nio.util.ByteBufferAllocator
Packages that use ByteBufferAllocator
Package
Description
Default implementations of HTTP connections for asynchronous,
even driven communication.
Default implementations of client side connection pools
for asynchronous, even driven communication.
Default implementation of event driven network communication APIs
based on Java NIO.
Core HTTP entity implementations with support for
asynchronous, event driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
Core utility classes for asynchronous, event driven communication.
-
Uses of ByteBufferAllocator in org.apache.http.impl.nio
Fields in org.apache.http.impl.nio declared as ByteBufferAllocatorModifier and TypeFieldDescriptionprotected final ByteBufferAllocator
DefaultClientIOEventDispatch.allocator
Deprecated.private final ByteBufferAllocator
DefaultNHttpClientConnectionFactory.allocator
private final ByteBufferAllocator
DefaultNHttpServerConnectionFactory.allocator
protected final ByteBufferAllocator
DefaultServerIOEventDispatch.allocator
Deprecated.private final ByteBufferAllocator
SSLNHttpClientConnectionFactory.allocator
private final ByteBufferAllocator
SSLNHttpServerConnectionFactory.allocator
Methods in org.apache.http.impl.nio that return ByteBufferAllocatorModifier and TypeMethodDescriptionprotected ByteBufferAllocator
DefaultClientIOEventDispatch.createByteBufferAllocator()
Deprecated.Creates an instance ofHeapByteBufferAllocator
to be used by HTTP connections for allocatingByteBuffer
objects.protected ByteBufferAllocator
DefaultServerIOEventDispatch.createByteBufferAllocator()
Deprecated.Creates an instance ofHeapByteBufferAllocator
to be used by HTTP connections for allocatingByteBuffer
objects.protected ByteBufferAllocator
SSLClientIOEventDispatch.createByteBufferAllocator()
Deprecated.Creates an instance ofHeapByteBufferAllocator
to be used by HTTP connections for allocatingByteBuffer
objects.protected ByteBufferAllocator
SSLServerIOEventDispatch.createByteBufferAllocator()
Deprecated.Creates an instance ofHeapByteBufferAllocator
to be used by HTTP connections for allocatingByteBuffer
objects.Methods in org.apache.http.impl.nio with parameters of type ByteBufferAllocatorModifier and TypeMethodDescriptionprotected DefaultNHttpClientConnection
DefaultNHttpClientConnectionFactory.createConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected DefaultNHttpServerConnection
DefaultNHttpServerConnectionFactory.createConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected DefaultNHttpClientConnection
SSLNHttpClientConnectionFactory.createConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected DefaultNHttpServerConnection
SSLNHttpServerConnectionFactory.createConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.Constructors in org.apache.http.impl.nio with parameters of type ByteBufferAllocatorModifierConstructorDescriptionDefaultNHttpClientConnection
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, NHttpMessageParserFactory<HttpResponse> responseParserFactory) Creates new instance DefaultNHttpClientConnection given the underlying I/O session.DefaultNHttpClientConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) DefaultNHttpClientConnectionFactory
(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpClientConnectionFactory
(HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) DefaultNHttpClientConnectionFactory
(NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpServerConnection
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory) Creates new instance DefaultNHttpServerConnection given the underlying I/O session.DefaultNHttpServerConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) DefaultNHttpServerConnectionFactory
(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpServerConnectionFactory
(HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) DefaultNHttpServerConnectionFactory
(ByteBufferAllocator allocator, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig) protected
NHttpConnectionBase
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy) Creates new instance NHttpConnectionBase given the underlying I/O session.protected
NHttpConnectionBase
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy) Creates new instance NHttpConnectionBase given the underlying I/O session.NHttpConnectionBase
(IOSession session, ByteBufferAllocator allocator, HttpParams params) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) -
Uses of ByteBufferAllocator in org.apache.http.impl.nio.pool
Constructors in org.apache.http.impl.nio.pool with parameters of type ByteBufferAllocatorModifierConstructorDescriptionBasicNIOConnFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) BasicNIOConnFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig config) -
Uses of ByteBufferAllocator in org.apache.http.impl.nio.reactor
Constructors in org.apache.http.impl.nio.reactor with parameters of type ByteBufferAllocatorModifierConstructorDescriptionSessionInputBufferImpl
(int bufferSize, int lineBufferSize, CharsetDecoder charDecoder, ByteBufferAllocator allocator) Creates SessionInputBufferImpl instance.SessionInputBufferImpl
(int bufferSize, int lineBufferSize, MessageConstraints constraints, CharsetDecoder charDecoder, ByteBufferAllocator allocator) Creates SessionInputBufferImpl instance.SessionInputBufferImpl
(int bufferSize, int lineBufferSize, ByteBufferAllocator allocator, HttpParams params) Deprecated.SessionOutputBufferImpl
(int bufferSize, int lineBufferSize, CharsetEncoder charEncoder, ByteBufferAllocator allocator) Creates SessionOutputBufferImpl instance.SessionOutputBufferImpl
(int bufferSize, int lineBufferSize, ByteBufferAllocator allocator, HttpParams params) Deprecated. -
Uses of ByteBufferAllocator in org.apache.http.nio.entity
Constructors in org.apache.http.nio.entity with parameters of type ByteBufferAllocatorModifierConstructorDescriptionBufferingNHttpEntity
(HttpEntity httpEntity, ByteBufferAllocator allocator) Deprecated.SkipContentListener
(ByteBufferAllocator allocator) Deprecated. -
Uses of ByteBufferAllocator in org.apache.http.nio.protocol
Fields in org.apache.http.nio.protocol declared as ByteBufferAllocatorModifier and TypeFieldDescriptionprotected final ByteBufferAllocator
NHttpHandlerBase.allocator
Deprecated.Constructors in org.apache.http.nio.protocol with parameters of type ByteBufferAllocatorModifierConstructorDescriptionAsyncNHttpClientHandler
(HttpProcessor httpProcessor, NHttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.AsyncNHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.BufferingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.BufferingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.ClientConnState
(int bufsize, IOControl ioControl, ByteBufferAllocator allocator) NHttpHandlerBase
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.ServerConnState
(int bufsize, IOControl ioControl, ByteBufferAllocator allocator) ThrottlingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, Executor executor, HttpParams params) Deprecated.ThrottlingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, Executor executor, HttpParams params) Deprecated. -
Uses of ByteBufferAllocator in org.apache.http.nio.util
Classes in org.apache.http.nio.util that implement ByteBufferAllocatorModifier and TypeClassDescriptionclass
AllocatesByteBuffer
instances usingByteBuffer.allocateDirect(int)
.class
AllocatesByteBuffer
instances usingByteBuffer.allocate(int)
.Fields in org.apache.http.nio.util declared as ByteBufferAllocatorConstructors in org.apache.http.nio.util with parameters of type ByteBufferAllocatorModifierConstructorDescriptionExpandableBuffer
(int bufferSize, ByteBufferAllocator allocator) Allocates buffer of the given size using the given allocator.SharedInputBuffer
(int bufferSize, IOControl ioControl, ByteBufferAllocator allocator) Deprecated.SharedInputBuffer
(int bufferSize, ByteBufferAllocator allocator) SharedOutputBuffer
(int bufferSize, IOControl ioControl, ByteBufferAllocator allocator) Deprecated.SharedOutputBuffer
(int bufferSize, ByteBufferAllocator allocator) SimpleInputBuffer
(int bufferSize, ByteBufferAllocator allocator) SimpleOutputBuffer
(int bufferSize, ByteBufferAllocator allocator)