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 IOSessionSessionHttpContext.ioSessionprotected IOSessionNHttpConnectionBase.sessionMethods in org.apache.http.impl.nio with parameters of type IOSessionModifier and TypeMethodDescriptionprotected voidBinds the connection to a differentIOSession.voidDeprecated.voidDeprecated.protected NHttpClientIOTargetDefaultClientIOEventDispatch.createConnection(IOSession session) Deprecated.Creates an instance ofDefaultNHttpClientConnectionbased on the givenIOSession.protected DefaultNHttpClientConnectionDefaultHttpClientIODispatch.createConnection(IOSession session) protected DefaultNHttpServerConnectionDefaultHttpServerIODispatch.createConnection(IOSession session) DefaultNHttpClientConnectionFactory.createConnection(IOSession session) protected DefaultNHttpClientConnectionDefaultNHttpClientConnectionFactory.createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.DefaultNHttpServerConnectionFactory.createConnection(IOSession session) protected DefaultNHttpServerConnectionDefaultNHttpServerConnectionFactory.createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, 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.SSLNHttpClientConnectionFactory.createConnection(IOSession ioSession) protected DefaultNHttpClientConnectionSSLNHttpClientConnectionFactory.createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.SSLNHttpServerConnectionFactory.createConnection(IOSession ioSession) protected DefaultNHttpServerConnectionSSLNHttpServerConnectionFactory.createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, 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, SSLContext sslContext, SSLIOSessionHandler sslHandler) Deprecated.Creates an instance ofSSLIOSessiondecorating the givenIOSession.protected SSLIOSessionSSLNHttpClientConnectionFactory.createSSLIOSession(IOSession ioSession, SSLContext sslContext, SSLSetupHandler sslHandler) protected SSLIOSessionSSLNHttpServerConnectionFactory.createSSLIOSession(IOSession ioSession, SSLContext sslContext, SSLSetupHandler sslHandler) protected SSLIOSessionSSLServerIOEventDispatch.createSSLIOSession(IOSession session, 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.private voidNHttpConnectionBase.setSession(IOSession session) voidDeprecated.voidDeprecated.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) protectedNHttpConnectionBase(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.protectedNHttpConnectionBase(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 TypeClassDescriptionclassDefault implementation ofIOSession.classDeprecated.(4.2) useSSLIOSessionFields in org.apache.http.impl.nio.reactor declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSessionSessionHandle.sessionDeprecated.private IOSessionSessionRequestImpl.sessionFields in org.apache.http.impl.nio.reactor with type parameters of type IOSessionModifier and TypeFieldDescriptionBaseIOReactor.bufferingSessionsAbstractIOReactor.closedSessionsAbstractIOReactor.sessionsMethods in org.apache.http.impl.nio.reactor that return IOSessionModifier and TypeMethodDescriptionprotected IOSessionAbstractIOReactor.getSession(SelectionKey key) ObtainsIOSessioninstance 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 TypeMethodDescriptionvoidvoidprotected 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(SelectionKey key, IOSession session) Triggered when new session has been created.protected voidBaseIOReactor.sessionCreated(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.voidvoidSSLIOSessionHandlerAdaptor.verify(IOSession ioSession, SSLSession sslsession) Deprecated.voidSSLSetupHandler.verify(IOSession ioSession, SSLSession sslsession) Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.voidSSLSetupHandlerAdaptor.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 NHttpClientIOTargetSSLClientIOEventDispatch.createConnection(IOSession session) Deprecated.protected NHttpServerIOTargetSSLServerIOEventDispatch.createConnection(IOSession session) Deprecated.protected SSLIOSessionSSLClientIOEventDispatch.createSSLIOSession(IOSession session, SSLContext sslContext, SSLSetupHandler sslHandler) Deprecated.Creates an instance ofSSLIOSessiondecorating the givenIOSession.protected SSLIOSessionSSLServerIOEventDispatch.createSSLIOSession(IOSession session, 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 -
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()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 IOSessionModifier and TypeMethodDescriptionvoidTriggered 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.voidTriggered 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 TypeClassDescriptionclassSSLIOSessionis a decorator class intended to transparently extend anIOSessionwith 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 TypeMethodDescriptionvoidSSLSetupHandler.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 ofSSLIOSessionclass.SSLIOSession(IOSession session, SSLMode sslMode, HttpHost host, SSLContext sslContext, SSLSetupHandler handler) Creates new instance ofSSLIOSessionclass.SSLIOSession(IOSession session, SSLMode sslMode, HttpHost host, SSLContext sslContext, SSLSetupHandler handler, SSLBufferManagementStrategy bufferManagementStrategy) Creates new instance ofSSLIOSessionclass.