Uses of Interface
org.apache.http.nio.reactor.IOSession
Packages that use IOSession
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 component APIs and primitives for asynchronous, event
driven communication.
Client side connection pools APIs for asynchronous, event driven
communication.
Event driven network communication APIs loosely based on
Doug Lea's
reactor pattern.
TLS/SSL support for asynchronous, event driven communication.
-
Uses of IOSession in org.apache.http.impl.nio
Fields in org.apache.http.impl.nio declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSession
SessionHttpContext.ioSession
protected IOSession
NHttpConnectionBase.session
Methods in org.apache.http.impl.nio with parameters of type IOSessionModifier and TypeMethodDescriptionprotected void
Binds the connection to a differentIOSession
.void
Deprecated.void
Deprecated.protected NHttpClientIOTarget
DefaultClientIOEventDispatch.createConnection
(IOSession session) Deprecated.Creates an instance ofDefaultNHttpClientConnection
based on the givenIOSession
.protected DefaultNHttpClientConnection
DefaultHttpClientIODispatch.createConnection
(IOSession session) protected DefaultNHttpServerConnection
DefaultHttpServerIODispatch.createConnection
(IOSession session) DefaultNHttpClientConnectionFactory.createConnection
(IOSession session) protected DefaultNHttpClientConnection
DefaultNHttpClientConnectionFactory.createConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.DefaultNHttpServerConnectionFactory.createConnection
(IOSession session) protected DefaultNHttpServerConnection
DefaultNHttpServerConnectionFactory.createConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected NHttpServerIOTarget
DefaultServerIOEventDispatch.createConnection
(IOSession session) Deprecated.Creates an instance ofDefaultNHttpServerConnection
based on the givenIOSession
.protected NHttpClientIOTarget
SSLClientIOEventDispatch.createConnection
(IOSession session) Deprecated.Creates an instance ofDefaultNHttpClientConnection
based on the given SSLIOSession
.SSLNHttpClientConnectionFactory.createConnection
(IOSession ioSession) protected DefaultNHttpClientConnection
SSLNHttpClientConnectionFactory.createConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.SSLNHttpServerConnectionFactory.createConnection
(IOSession ioSession) protected DefaultNHttpServerConnection
SSLNHttpServerConnectionFactory.createConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected NHttpServerIOTarget
SSLServerIOEventDispatch.createConnection
(IOSession session) Deprecated.Creates an instance ofDefaultNHttpServerConnection
based on the givenIOSession
.protected SSLIOSession
SSLClientIOEventDispatch.createSSLIOSession
(IOSession session, SSLContext sslContext, SSLIOSessionHandler sslHandler) Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
.protected SSLIOSession
SSLNHttpClientConnectionFactory.createSSLIOSession
(IOSession ioSession, SSLContext sslContext, SSLSetupHandler sslHandler) protected SSLIOSession
SSLNHttpServerConnectionFactory.createSSLIOSession
(IOSession ioSession, SSLContext sslContext, SSLSetupHandler sslHandler) protected SSLIOSession
SSLServerIOEventDispatch.createSSLIOSession
(IOSession session, SSLContext sslContext, SSLIOSessionHandler sslHandler) Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
.void
SSLClientIOEventDispatch.disconnected
(IOSession session) Deprecated.void
SSLServerIOEventDispatch.disconnected
(IOSession session) Deprecated.void
SSLClientIOEventDispatch.inputReady
(IOSession session) Deprecated.void
SSLServerIOEventDispatch.inputReady
(IOSession session) Deprecated.void
SSLClientIOEventDispatch.outputReady
(IOSession session) Deprecated.void
SSLServerIOEventDispatch.outputReady
(IOSession session) Deprecated.private void
NHttpConnectionBase.setSession
(IOSession session) void
Deprecated.void
Deprecated.Constructors in org.apache.http.impl.nio with parameters of type IOSessionModifierConstructorDescriptionDefaultNHttpClientConnection
(IOSession session, int bufferSize) DefaultNHttpClientConnection
(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, int bufferSize, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints) DefaultNHttpClientConnection
(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) DefaultNHttpServerConnection
(IOSession session, int bufferSize) 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, int bufferSize, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints) DefaultNHttpServerConnection
(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) 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) SessionHttpContext
(IOSession ioSession) -
Uses of IOSession in org.apache.http.impl.nio.pool
Methods in org.apache.http.impl.nio.pool with parameters of type IOSessionModifier and TypeMethodDescription -
Uses of IOSession in org.apache.http.impl.nio.reactor
Classes in org.apache.http.impl.nio.reactor that implement IOSessionModifier and TypeClassDescriptionclass
Default implementation ofIOSession
.class
Deprecated.(4.2) useSSLIOSession
Fields in org.apache.http.impl.nio.reactor declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSession
SessionHandle.session
Deprecated.private IOSession
SessionRequestImpl.session
Fields in org.apache.http.impl.nio.reactor with type parameters of type IOSessionModifier and TypeFieldDescriptionBaseIOReactor.bufferingSessions
AbstractIOReactor.closedSessions
AbstractIOReactor.sessions
Methods in org.apache.http.impl.nio.reactor that return IOSessionModifier and TypeMethodDescriptionprotected IOSession
AbstractIOReactor.getSession
(SelectionKey key) ObtainsIOSession
instance associated with the given selection key.SessionHandle.getSession()
Deprecated.SessionRequestImpl.getSession()
Methods in org.apache.http.impl.nio.reactor with parameters of type IOSessionModifier and TypeMethodDescriptionvoid
void
protected abstract T
AbstractIODispatch.createConnection
(IOSession session) void
AbstractIODispatch.disconnected
(IOSession session) void
AbstractIODispatch.inputReady
(IOSession session) void
AbstractIODispatch.outputReady
(IOSession session) protected void
AbstractIOReactor.queueClosedSession
(IOSession session) Queues the given I/O session to be processed asynchronously as closed.protected void
AbstractIOReactor.sessionClosed
(IOSession session) Triggered when a session has been closed.protected void
BaseIOReactor.sessionClosed
(IOSession session) Processes closed I/O session.void
SessionClosedCallback.sessionClosed
(IOSession session) protected void
AbstractIOReactor.sessionCreated
(SelectionKey key, IOSession session) Triggered when new session has been created.protected void
BaseIOReactor.sessionCreated
(SelectionKey key, IOSession session) Processes newly created I/O session.protected void
AbstractIOReactor.sessionTimedOut
(IOSession session) Triggered when a session has timed out.protected void
BaseIOReactor.sessionTimedOut
(IOSession session) Processes timed out I/O session.void
void
SSLIOSessionHandlerAdaptor.verify
(IOSession ioSession, SSLSession sslsession) Deprecated.void
SSLSetupHandler.verify
(IOSession ioSession, SSLSession sslsession) Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.void
SSLSetupHandlerAdaptor.verify
(IOSession ioSession, SSLSession sslsession) Deprecated.Constructors in org.apache.http.impl.nio.reactor with parameters of type IOSessionModifierConstructorDescriptionSessionHandle
(IOSession session) Deprecated.SSLIOSession
(IOSession session, SSLContext sslContext, SSLIOSessionHandler handler) Deprecated.SSLIOSession
(IOSession session, SSLContext sslContext, SSLSetupHandler handler) Deprecated. -
Uses of IOSession in org.apache.http.impl.nio.ssl
Methods in org.apache.http.impl.nio.ssl with parameters of type IOSessionModifier and TypeMethodDescriptionprotected NHttpClientIOTarget
SSLClientIOEventDispatch.createConnection
(IOSession session) Deprecated.protected NHttpServerIOTarget
SSLServerIOEventDispatch.createConnection
(IOSession session) Deprecated.protected SSLIOSession
SSLClientIOEventDispatch.createSSLIOSession
(IOSession session, SSLContext sslContext, SSLSetupHandler sslHandler) Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
.protected SSLIOSession
SSLServerIOEventDispatch.createSSLIOSession
(IOSession session, SSLContext sslContext, SSLSetupHandler sslHandler) Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
. -
Uses of IOSession in org.apache.http.nio
Methods in org.apache.http.nio with parameters of type IOSession -
Uses of IOSession in org.apache.http.nio.pool
Methods in org.apache.http.nio.pool with parameters of type IOSession -
Uses of IOSession in org.apache.http.nio.reactor
Methods in org.apache.http.nio.reactor that return IOSessionModifier and TypeMethodDescriptionSessionRequest.getSession()
ReturnsIOSession
instance created as a result of this request ornull
if the request is still pending.Methods in org.apache.http.nio.reactor with parameters of type IOSessionModifier and TypeMethodDescriptionvoid
Triggered after the given session has been just created.void
IOEventDispatch.disconnected
(IOSession session) Triggered when the given session has been terminated.void
IOEventDispatch.inputReady
(IOSession session) Triggered when the given session has input pending.void
IOEventDispatch.outputReady
(IOSession session) Triggered when the given session is ready for output.void
Triggered when the given session as timed out. -
Uses of IOSession in org.apache.http.nio.reactor.ssl
Classes in org.apache.http.nio.reactor.ssl that implement IOSessionModifier and TypeClassDescriptionclass
SSLIOSession
is a decorator class intended to transparently extend anIOSession
with transport layer security capabilities based on the SSL/TLS protocol.Fields in org.apache.http.nio.reactor.ssl declared as IOSessionMethods in org.apache.http.nio.reactor.ssl with parameters of type IOSessionModifier and TypeMethodDescriptionvoid
SSLSetupHandler.verify
(IOSession ioSession, SSLSession sslSession) Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.Constructors in org.apache.http.nio.reactor.ssl with parameters of type IOSessionModifierConstructorDescriptionSSLIOSession
(IOSession session, SSLMode sslMode, SSLContext sslContext, SSLSetupHandler handler) Creates new instance ofSSLIOSession
class.SSLIOSession
(IOSession session, SSLMode sslMode, HttpHost host, SSLContext sslContext, SSLSetupHandler handler) Creates new instance ofSSLIOSession
class.SSLIOSession
(IOSession session, SSLMode sslMode, HttpHost host, SSLContext sslContext, SSLSetupHandler handler, SSLBufferManagementStrategy bufferManagementStrategy) Creates new instance ofSSLIOSession
class.