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 protected IOSessionNHttpConnectionBase. sessionMethods in org.apache.http.impl.nio with parameters of type IOSession Modifier and Type Method Description protected voidNHttpConnectionBase. bind(IOSession session)Binds the connection to a differentIOSession.voidSSLClientIOEventDispatch. connected(IOSession session)Deprecated.voidSSLServerIOEventDispatch. connected(IOSession session)Deprecated.protected NHttpClientIOTargetDefaultClientIOEventDispatch. createConnection(IOSession session)Deprecated.Creates an instance ofDefaultNHttpClientConnectionbased on the givenIOSession.protected DefaultNHttpClientConnectionDefaultHttpClientIODispatch. createConnection(IOSession session)protected DefaultNHttpServerConnectionDefaultHttpServerIODispatch. createConnection(IOSession session)DefaultNHttpClientConnectionDefaultNHttpClientConnectionFactory. createConnection(IOSession session)protected DefaultNHttpClientConnectionDefaultNHttpClientConnectionFactory. createConnection(IOSession session, org.apache.http.HttpResponseFactory responseFactory, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.(4.3) no longer used.DefaultNHttpServerConnectionDefaultNHttpServerConnectionFactory. createConnection(IOSession session)protected DefaultNHttpServerConnectionDefaultNHttpServerConnectionFactory. createConnection(IOSession session, org.apache.http.HttpRequestFactory requestFactory, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.(4.3) no longer used.protected NHttpServerIOTargetDefaultServerIOEventDispatch. createConnection(IOSession session)Deprecated.Creates an instance ofDefaultNHttpServerConnectionbased on the givenIOSession.protected NHttpClientIOTargetSSLClientIOEventDispatch. createConnection(IOSession session)Deprecated.Creates an instance ofDefaultNHttpClientConnectionbased on the given SSLIOSession.DefaultNHttpClientConnectionSSLNHttpClientConnectionFactory. createConnection(IOSession ioSession)protected DefaultNHttpClientConnectionSSLNHttpClientConnectionFactory. createConnection(IOSession session, org.apache.http.HttpResponseFactory responseFactory, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.(4.3) no longer used.DefaultNHttpServerConnectionSSLNHttpServerConnectionFactory. createConnection(IOSession ioSession)protected DefaultNHttpServerConnectionSSLNHttpServerConnectionFactory. createConnection(IOSession session, org.apache.http.HttpRequestFactory requestFactory, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.(4.3) no longer used.protected NHttpServerIOTargetSSLServerIOEventDispatch. createConnection(IOSession session)Deprecated.Creates an instance ofDefaultNHttpServerConnectionbased on the givenIOSession.protected SSLIOSessionSSLClientIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLIOSessionHandler sslHandler)Deprecated.Creates an instance ofSSLIOSessiondecorating the givenIOSession.protected SSLIOSessionSSLNHttpClientConnectionFactory. createSSLIOSession(IOSession ioSession, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)protected SSLIOSessionSSLNHttpServerConnectionFactory. createSSLIOSession(IOSession ioSession, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)protected SSLIOSessionSSLServerIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLIOSessionHandler sslHandler)Deprecated.Creates an instance ofSSLIOSessiondecorating the givenIOSession.voidSSLClientIOEventDispatch. disconnected(IOSession session)Deprecated.voidSSLServerIOEventDispatch. disconnected(IOSession session)Deprecated.voidSSLClientIOEventDispatch. inputReady(IOSession session)Deprecated.voidSSLServerIOEventDispatch. inputReady(IOSession session)Deprecated.voidSSLClientIOEventDispatch. outputReady(IOSession session)Deprecated.voidSSLServerIOEventDispatch. outputReady(IOSession session)Deprecated.voidSSLClientIOEventDispatch. timeout(IOSession session)Deprecated.voidSSLServerIOEventDispatch. 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, org.apache.http.config.MessageConstraints constraints, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy, NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, NHttpMessageParserFactory<org.apache.http.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, org.apache.http.config.MessageConstraints constraints)DefaultNHttpClientConnection(IOSession session, org.apache.http.HttpResponseFactory responseFactory, ByteBufferAllocator allocator, org.apache.http.params.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, org.apache.http.config.MessageConstraints constraints, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory, NHttpMessageWriterFactory<org.apache.http.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, org.apache.http.config.MessageConstraints constraints)DefaultNHttpServerConnection(IOSession session, org.apache.http.HttpRequestFactory requestFactory, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)NHttpConnectionBase(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, java.nio.charset.CharsetDecoder charDecoder, java.nio.charset.CharsetEncoder charEncoder, org.apache.http.config.MessageConstraints constraints, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.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, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy)Creates new instance NHttpConnectionBase given the underlying I/O session.NHttpConnectionBase(IOSession session, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params) -
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 NHttpClientConnectionBasicNIOConnFactory. create(org.apache.http.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 classIOSessionImplDefault implementation ofIOSession.classSSLIOSessionDeprecated.(4.2) useSSLIOSessionMethods in org.apache.http.impl.nio.reactor that return IOSession Modifier and Type Method Description protected IOSessionAbstractIOReactor. getSession(java.nio.channels.SelectionKey key)ObtainsIOSessioninstance associated with the given selection key.IOSessionSessionHandle. getSession()Deprecated.IOSessionSessionRequestImpl. getSession()Methods in org.apache.http.impl.nio.reactor with parameters of type IOSession Modifier and Type Method Description voidSessionRequestImpl. completed(IOSession session)voidAbstractIODispatch. connected(IOSession session)protected abstract TAbstractIODispatch. createConnection(IOSession session)voidAbstractIODispatch. disconnected(IOSession session)voidAbstractIODispatch. inputReady(IOSession session)voidAbstractIODispatch. outputReady(IOSession session)protected voidAbstractIOReactor. queueClosedSession(IOSession session)Queues the given I/O session to be processed asynchronously as closed.protected voidAbstractIOReactor. sessionClosed(IOSession session)Triggered when a session has been closed.protected voidBaseIOReactor. sessionClosed(IOSession session)Processes closed I/O session.voidSessionClosedCallback. sessionClosed(IOSession session)protected voidAbstractIOReactor. sessionCreated(java.nio.channels.SelectionKey key, IOSession session)Triggered when new session has been created.protected voidBaseIOReactor. sessionCreated(java.nio.channels.SelectionKey key, IOSession session)Processes newly created I/O session.protected voidAbstractIOReactor. sessionTimedOut(IOSession session)Triggered when a session has timed out.protected voidBaseIOReactor. sessionTimedOut(IOSession session)Processes timed out I/O session.voidAbstractIODispatch. timeout(IOSession session)voidSSLSetupHandler. 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.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 NHttpClientIOTargetSSLClientIOEventDispatch. createConnection(IOSession session)Deprecated.protected NHttpServerIOTargetSSLServerIOEventDispatch. createConnection(IOSession session)Deprecated.protected SSLIOSessionSSLClientIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)Deprecated.Creates an instance ofSSLIOSessiondecorating the givenIOSession.protected SSLIOSessionSSLServerIOEventDispatch. createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)Deprecated.Creates an instance ofSSLIOSessiondecorating 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 TNHttpConnectionFactory. 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 CNIOConnFactory. 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 IOSessionSessionRequest. getSession()ReturnsIOSessioninstance created as a result of this request ornullif the request is still pending.Methods in org.apache.http.nio.reactor with parameters of type IOSession Modifier and Type Method Description voidIOEventDispatch. connected(IOSession session)Triggered after the given session has been just created.voidIOEventDispatch. disconnected(IOSession session)Triggered when the given session has been terminated.voidIOEventDispatch. inputReady(IOSession session)Triggered when the given session has input pending.voidIOEventDispatch. outputReady(IOSession session)Triggered when the given session is ready for output.voidIOEventDispatch. 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 classSSLIOSessionSSLIOSessionis a decorator class intended to transparently extend anIOSessionwith transport layer security capabilities based on the SSL/TLS protocol.Methods in org.apache.http.nio.reactor.ssl with parameters of type IOSession Modifier and Type Method Description voidSSLSetupHandler. 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 ofSSLIOSessionclass.SSLIOSession(IOSession session, SSLMode sslMode, org.apache.http.HttpHost host, javax.net.ssl.SSLContext sslContext, SSLSetupHandler handler)Creates new instance ofSSLIOSessionclass.SSLIOSession(IOSession session, SSLMode sslMode, org.apache.http.HttpHost host, javax.net.ssl.SSLContext sslContext, SSLSetupHandler handler, SSLBufferManagementStrategy bufferManagementStrategy)Creates new instance ofSSLIOSessionclass.
-