Uses of Interface
org.apache.http.nio.reactor.IOSession
-
Packages that use IOSession Package Description org.apache.http.impl.nio Default implementations of HTTP connections for asynchronous, even driven communication.org.apache.http.impl.nio.pool Default implementations of client side connection pools for asynchronous, even driven communication.org.apache.http.impl.nio.reactor Default implementation of event driven network communication APIs based on Java NIO.org.apache.http.impl.nio.ssl org.apache.http.nio Core HTTP component APIs and primitives for asynchronous, event driven communication.org.apache.http.nio.pool Client side connection pools APIs for asynchronous, event driven communication.org.apache.http.nio.reactor Event driven network communication APIs loosely based on Doug Lea's reactor pattern.org.apache.http.nio.reactor.ssl 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 IOSession Modifier and Type Field Description private IOSession
SessionHttpContext. ioSession
protected IOSession
NHttpConnectionBase. session
Methods in org.apache.http.impl.nio with parameters of type IOSession Modifier and Type Method Description protected void
NHttpConnectionBase. bind(IOSession session)
Binds the connection to a differentIOSession
.void
SSLClientIOEventDispatch. connected(IOSession session)
Deprecated.void
SSLServerIOEventDispatch. connected(IOSession session)
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)
DefaultNHttpClientConnection
DefaultNHttpClientConnectionFactory. createConnection(IOSession session)
protected DefaultNHttpClientConnection
DefaultNHttpClientConnectionFactory. createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
Deprecated.(4.3) no longer used.DefaultNHttpServerConnection
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
.DefaultNHttpClientConnection
SSLNHttpClientConnectionFactory. createConnection(IOSession ioSession)
protected DefaultNHttpClientConnection
SSLNHttpClientConnectionFactory. createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
Deprecated.(4.3) no longer used.DefaultNHttpServerConnection
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, javax.net.ssl.SSLContext sslContext, SSLIOSessionHandler sslHandler)
Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
.protected SSLIOSession
SSLNHttpClientConnectionFactory. createSSLIOSession(IOSession ioSession, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)
protected SSLIOSession
SSLNHttpServerConnectionFactory. createSSLIOSession(IOSession ioSession, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)
protected SSLIOSession
SSLServerIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.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
SSLClientIOEventDispatch. timeout(IOSession session)
Deprecated.void
SSLServerIOEventDispatch. timeout(IOSession session)
Deprecated.Constructors in org.apache.http.impl.nio with parameters of type IOSession Constructor Description DefaultNHttpClientConnection(IOSession session, int bufferSize)
DefaultNHttpClientConnection(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.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, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.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, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.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, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.CharsetEncoder charEncoder, MessageConstraints constraints)
DefaultNHttpServerConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
NHttpConnectionBase(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)
Creates new instance NHttpConnectionBase given the underlying I/O session.NHttpConnectionBase(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.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 IOSession Modifier and Type Method Description NHttpClientConnection
BasicNIOConnFactory. create(HttpHost route, IOSession session)
-
Uses of IOSession in org.apache.http.impl.nio.reactor
Classes in org.apache.http.impl.nio.reactor that implement IOSession Modifier and Type Class Description class
IOSessionImpl
Default implementation ofIOSession
.class
SSLIOSession
Deprecated.(4.2) useSSLIOSession
Fields in org.apache.http.impl.nio.reactor declared as IOSession Modifier and Type Field Description private IOSession
SessionHandle. session
Deprecated.private IOSession
SessionRequestImpl. session
Fields in org.apache.http.impl.nio.reactor with type parameters of type IOSession Modifier and Type Field Description private java.util.Set<IOSession>
BaseIOReactor. bufferingSessions
private java.util.Queue<IOSession>
AbstractIOReactor. closedSessions
private java.util.Set<IOSession>
AbstractIOReactor. sessions
Methods in org.apache.http.impl.nio.reactor that return IOSession Modifier and Type Method Description protected IOSession
AbstractIOReactor. getSession(java.nio.channels.SelectionKey key)
ObtainsIOSession
instance associated with the given selection key.IOSession
SessionHandle. getSession()
Deprecated.IOSession
SessionRequestImpl. getSession()
Methods in org.apache.http.impl.nio.reactor with parameters of type IOSession Modifier and Type Method Description void
SessionRequestImpl. completed(IOSession session)
void
AbstractIODispatch. connected(IOSession session)
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(java.nio.channels.SelectionKey key, IOSession session)
Triggered when new session has been created.protected void
BaseIOReactor. sessionCreated(java.nio.channels.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
AbstractIODispatch. timeout(IOSession session)
void
SSLIOSessionHandlerAdaptor. verify(IOSession ioSession, javax.net.ssl.SSLSession sslsession)
Deprecated.void
SSLSetupHandler. verify(IOSession ioSession, javax.net.ssl.SSLSession sslsession)
Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.void
SSLSetupHandlerAdaptor. verify(IOSession ioSession, javax.net.ssl.SSLSession sslsession)
Deprecated.Constructors in org.apache.http.impl.nio.reactor with parameters of type IOSession Constructor Description SessionHandle(IOSession session)
Deprecated.SSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLIOSessionHandler handler)
Deprecated.SSLIOSession(IOSession session, javax.net.ssl.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 IOSession Modifier and Type Method Description protected NHttpClientIOTarget
SSLClientIOEventDispatch. createConnection(IOSession session)
Deprecated.protected NHttpServerIOTarget
SSLServerIOEventDispatch. createConnection(IOSession session)
Deprecated.protected SSLIOSession
SSLClientIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)
Deprecated.Creates an instance ofSSLIOSession
decorating the givenIOSession
.protected SSLIOSession
SSLServerIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.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 Modifier and Type Method Description T
NHttpConnectionFactory. createConnection(IOSession session)
-
Uses of IOSession in org.apache.http.nio.pool
Methods in org.apache.http.nio.pool with parameters of type IOSession Modifier and Type Method Description C
NIOConnFactory. create(T route, IOSession session)
-
Uses of IOSession in org.apache.http.nio.reactor
Methods in org.apache.http.nio.reactor that return IOSession Modifier and Type Method Description IOSession
SessionRequest. 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 IOSession Modifier and Type Method Description void
IOEventDispatch. connected(IOSession session)
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
IOEventDispatch. timeout(IOSession session)
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 IOSession Modifier and Type Class Description class
SSLIOSession
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 IOSession Modifier and Type Field Description private IOSession
SSLIOSession. session
Methods in org.apache.http.nio.reactor.ssl with parameters of type IOSession Modifier and Type Method Description void
SSLSetupHandler. verify(IOSession ioSession, javax.net.ssl.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 IOSession Constructor Description SSLIOSession(IOSession session, SSLMode sslMode, javax.net.ssl.SSLContext sslContext, SSLSetupHandler handler)
Creates new instance ofSSLIOSession
class.SSLIOSession(IOSession session, SSLMode sslMode, HttpHost host, javax.net.ssl.SSLContext sslContext, SSLSetupHandler handler)
Creates new instance ofSSLIOSession
class.SSLIOSession(IOSession session, SSLMode sslMode, HttpHost host, javax.net.ssl.SSLContext sslContext, SSLSetupHandler handler, SSLBufferManagementStrategy bufferManagementStrategy)
Creates new instance ofSSLIOSession
class.
-