## Uses of Interface
org.apache.http.nio.reactor.IOSession

Packages that use IOSession
Package | Description
--- | ---
org.apache.http.impl.nio | Default implementations for interfaces in `org.apache.http.nio`.
org.apache.http.impl.nio.pool | Basic implementations for interfaces in `org.apache.http.nio.pool`.
org.apache.http.impl.nio.reactor | Default implementations for interfaces in `org.apache.http.nio` including default I/O reactor implementations and support for SSL/TLS transport security.
org.apache.http.impl.nio.ssl | Deprecated
org.apache.http.nio | Core HTTP components based on the non-blocking I/O model.
org.apache.http.nio.pool | Asynchronous (non-blocking) connection pool components.
org.apache.http.nio.reactor | API for event driven NIO based on Doug Lea's reactor pattern.
org.apache.http.nio.reactor.ssl | Non-blocking TLS/SSL session implementation.

### Uses of IOSession in org.apache.http.impl.nio

Fields in org.apache.http.impl.nio declared as IOSession
Modifier and Type | Field and Description
--- | ---
`protected IOSession` | NHttpConnectionBase.`session`

Methods in org.apache.http.impl.nio with parameters of type IOSession
Modifier and Type | Method and Description
--- | ---
`protected void` | NHttpConnectionBase.`bind(IOSession session)` Binds the connection to a different `IOSession`.
`void` | SSLClientIOEventDispatch.`connected(IOSession session)` Deprecated.
`void` | SSLServerIOEventDispatch.`connected(IOSession session)` Deprecated.
`DefaultNHttpClientConnection` | SSLNHttpClientConnectionFactory.`createConnection(IOSession iosession)`
`protected DefaultNHttpServerConnection` | DefaultHttpServerIODispatch.`createConnection(IOSession session)`
`DefaultNHttpServerConnection` | DefaultNHttpServerConnectionFactory.`createConnection(IOSession session)`
`protected NHttpClientIOTarget` | SSLClientIOEventDispatch.`createConnection(IOSession session)` Deprecated. Creates an instance of `DefaultNHttpClientConnection` based on the given SSL `IOSession`.
`protected NHttpServerIOTarget` | DefaultServerIOEventDispatch.`createConnection(IOSession session)` Deprecated. Creates an instance of `DefaultNHttpServerConnection` based on the given `IOSession`.
`DefaultNHttpClientConnection` | DefaultNHttpClientConnectionFactory.`createConnection(IOSession session)`
`protected NHttpServerIOTarget` | SSLServerIOEventDispatch.`createConnection(IOSession session)` Deprecated. Creates an instance of `DefaultNHttpServerConnection` based on the given `IOSession`.
`protected DefaultNHttpClientConnection` | DefaultHttpClientIODispatch.`createConnection(IOSession session)`
`DefaultNHttpServerConnection` | SSLNHttpServerConnectionFactory.`createConnection(IOSession iosession)`
`protected NHttpClientIOTarget` | DefaultClientIOEventDispatch.`createConnection(IOSession session)` Deprecated. Creates an instance of `DefaultNHttpClientConnection` based on the given `IOSession`.
`protected DefaultNHttpServerConnection` | DefaultNHttpServerConnectionFactory.`createConnection(IOSession session, HttpRequestFactory requestFactory, 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.
`protected DefaultNHttpClientConnection` | SSLNHttpClientConnectionFactory.`createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) no longer used.
`protected DefaultNHttpClientConnection` | DefaultNHttpClientConnectionFactory.`createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) no longer used.
`protected SSLIOSession` | SSLClientIOEventDispatch.`createSSLIOSession(IOSession session, SSLContext sslcontext, SSLIOSessionHandler sslHandler)` Deprecated. Creates an instance of `SSLIOSession` decorating the given `IOSession`.
`protected SSLIOSession` | SSLServerIOEventDispatch.`createSSLIOSession(IOSession session, SSLContext sslcontext, SSLIOSessionHandler sslHandler)` Deprecated. Creates an instance of `SSLIOSession` decorating the given `IOSession`.
`protected SSLIOSession` | SSLNHttpClientConnectionFactory.`createSSLIOSession(IOSession iosession, SSLContext sslcontext, SSLSetupHandler sslHandler)`
`protected SSLIOSession` | SSLNHttpServerConnectionFactory.`createSSLIOSession(IOSession iosession, SSLContext sslcontext, SSLSetupHandler sslHandler)`
`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.
`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 and Description

`DefaultNHttpClientConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)`
Deprecated.
(4.3) use `DefaultNHttpClientConnection.DefaultNHttpClientConnection( IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, NHttpMessageWriterFactory, NHttpMessageParserFactory)`

`DefaultNHttpClientConnection(IOSession session, int buffersize)`
`DefaultNHttpClientConnection(IOSession session, int buffersize, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints)`

`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.

`DefaultNHttpServerConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)`
Deprecated.
(4.3) use `DefaultNHttpServerConnection.DefaultNHttpServerConnection( IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, NHttpMessageParserFactory, NHttpMessageWriterFactory)`

`DefaultNHttpServerConnection(IOSession session, int buffersize)`
`DefaultNHttpServerConnection(IOSession session, int buffersize, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints)`

`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.

`NHttpConnectionBase(IOSession session, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) use `NHttpConnectionBase.NHttpConnectionBase(IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder, ContentLengthStrategy, ContentLengthStrategy)`
`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.

### 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 and 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 and Description
--- | ---
`class` | `IOSessionImpl` Default implementation of `IOSession`.

Methods in org.apache.http.impl.nio.reactor that return IOSession
Modifier and Type | Method and Description
--- | ---
`IOSession` | SessionHandle.`getSession()` Deprecated.
`IOSession` | SessionRequestImpl.`getSession()`
`protected IOSession` | AbstractIOReactor.`getSession(SelectionKey key)` Obtains `IOSession` instance associated with the given selection key.

Methods in org.apache.http.impl.nio.reactor with parameters of type IOSession
Modifier and Type | Method and 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.
`void` | SessionClosedCallback.`sessionClosed(IOSession session)`
`protected void` | BaseIOReactor.`sessionClosed(IOSession session)` Processes closed I/O 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` | AbstractIODispatch.`timeout(IOSession session)`
`void` | SSLSetupHandler.`verify(IOSession iosession, 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 and Description
`SessionHandle(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 IOSession
Modifier and Type | Method and Description
--- | ---
`protected 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 of `SSLIOSession` decorating the given `IOSession`.
`protected SSLIOSession` | SSLServerIOEventDispatch.`createSSLIOSession(IOSession session, SSLContext sslcontext, SSLSetupHandler sslHandler)` Deprecated. Creates an instance of `SSLIOSession` decorating the given `IOSession`.

### Uses of IOSession in org.apache.http.nio

Methods in org.apache.http.nio with parameters of type IOSession
Modifier and Type | Method and 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 and 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 and Description
--- | ---
`IOSession` | SessionRequest.`getSession()` Returns `IOSession` instance created as a result of this request or `null` if the request is still pending.

Methods in org.apache.http.nio.reactor with parameters of type IOSession
Modifier and Type | Method and 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 and Description
--- | ---
`class` | `SSLIOSession` `SSLIOSession` is a decorator class intended to transparently extend an `IOSession` with 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 and Description
--- | ---
`void` | 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 IOSession
Constructor and Description
`SSLIOSession(IOSession session, SSLMode defaultMode, SSLContext sslContext, SSLSetupHandler handler)` Creates new instance of `SSLIOSession` class.