java.lang.Object | |
↳ | org.apache.http.impl.nio.SSLServerIOEventDispatch |
This class is deprecated.
use SSLServerIOEventDispatch
Default implementation of IOEventDispatch
interface for SSL
(encrypted) server-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
DefaultNHttpServerConnection based on the
given IOSession . | |||||||||||
Creates an instance of DefaultHttpRequestFactory to be used
by HTTP connections for creating HttpRequest 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 server 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 server 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 DefaultNHttpServerConnection
based on the
given IOSession
.
This method can be overridden in a super class in order to provide
a different implementation of the NHttpServerIOTarget
interface.
session | the underlying SSL I/O session. |
---|
Creates an instance of DefaultHttpRequestFactory to be used by HTTP connections for creating HttpRequest objects.
This method can be overridden in a super class in order to provide a different implementation of the HttpRequestFactory 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. |