java.lang.Object | |
↳ | org.apache.http.impl.nio.SSLClientIOEventDispatch |
This class is deprecated.
use SSLClientIOEventDispatch
Default implementation of IOEventDispatch
interface for SSL
(encrypted) client-side HTTP connections.
The following parameters can be used to customize the behavior of this class:
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
handler | |||||||||||
params | |||||||||||
sslHandler | |||||||||||
sslcontext |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . | |||||||||||
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Triggered after the given session has been just created.
| |||||||||||
Triggered when the given session has been terminated.
| |||||||||||
Triggered when the given session has input pending.
| |||||||||||
Triggered when the given session is ready for output.
| |||||||||||
Triggered when the given session as timed out.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating java.nio.ByteBuffer objects. | |||||||||||
Creates an instance of
DefaultNHttpClientConnection based on the
given SSL IOSession . | |||||||||||
Creates an instance of DefaultHttpResponseFactory to be used
by HTTP connections for creating HttpResponse objects.
| |||||||||||
Creates an instance of
SSLIOSession decorating the given
IOSession . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.nio.reactor.IOEventDispatch
|
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext
. This I/O dispatcher will transparently handle SSL
protocol aspects for HTTP connections.
handler | the client protocol handler. |
---|---|
sslcontext | the SSL context. |
sslHandler | the SSL handler. |
params | HTTP parameters. |
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext
. This I/O dispatcher will transparently handle SSL
protocol aspects for HTTP connections.
handler | the client protocol handler. |
---|---|
sslcontext | the SSL context. |
params | HTTP parameters. |
Triggered after the given session has been just created.
session | the I/O session. |
---|
Triggered when the given session has been terminated.
session | the I/O session. |
---|
Triggered when the given session has input pending.
session | the I/O session. |
---|
Triggered when the given session is ready for output.
session | the I/O session. |
---|
Triggered when the given session as timed out.
session | the I/O session. |
---|
Creates an instance of HeapByteBufferAllocator
to be used
by HTTP connections for allocating java.nio.ByteBuffer objects.
This method can be overridden in a super class in order to provide
a different implementation of the ByteBufferAllocator
interface.
Creates an instance of DefaultNHttpClientConnection
based on the
given SSL IOSession
.
This method can be overridden in a super class in order to provide
a different implementation of the NHttpClientIOTarget
interface.
session | the underlying SSL I/O session. |
---|
Creates an instance of DefaultHttpResponseFactory to be used by HTTP connections for creating HttpResponse objects.
This method can be overridden in a super class in order to provide a different implementation of the HttpResponseFactory interface.
Creates an instance of SSLIOSession
decorating the given
IOSession
.
This method can be overridden in a super class in order to provide a different implementation of SSL I/O session.
session | the underlying I/O session. |
---|---|
sslcontext | the SSL context. |
sslHandler | the SSL handler. |