DefaultHttpClientIODispatch@Deprecated public class SSLClientIOEventDispatch extends DefaultClientIOEventDispatch
IOEventDispatch
interface for SSL (encrypted) client-side HTTP connections.| Modifier and Type | Field and Description |
|---|---|
private javax.net.ssl.SSLContext |
sslContext
Deprecated.
|
private SSLSetupHandler |
sslHandler
Deprecated.
|
allocator, handler, paramsCONNECTION_KEY| Constructor and Description |
|---|
SSLClientIOEventDispatch(NHttpClientHandler handler,
javax.net.ssl.SSLContext sslContext,
HttpParams params)
Deprecated.
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. |
SSLClientIOEventDispatch(NHttpClientHandler handler,
javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpParams params)
Deprecated.
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. |
| Modifier and Type | Method and Description |
|---|---|
protected NHttpClientIOTarget |
createConnection(IOSession session)
Deprecated.
Creates an instance of
DefaultNHttpClientConnection based on the
given IOSession. |
protected NHttpClientIOTarget |
createSSLConnection(SSLIOSession ssliosession)
Deprecated.
|
protected SSLIOSession |
createSSLIOSession(IOSession session,
javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler)
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession. |
void |
onConnected(NHttpClientIOTarget conn)
Deprecated.
|
createByteBufferAllocator, createHttpResponseFactory, onClosed, onException, onInputReady, onOutputReady, onTimeoutconnected, disconnected, inputReady, outputReady, timeoutprivate final javax.net.ssl.SSLContext sslContext
private final SSLSetupHandler sslHandler
public SSLClientIOEventDispatch(NHttpClientHandler handler, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, HttpParams params)
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 setup handler.params - HTTP parameters.public SSLClientIOEventDispatch(NHttpClientHandler handler, javax.net.ssl.SSLContext sslContext, HttpParams params)
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.protected SSLIOSession createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)
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 setup handler.protected NHttpClientIOTarget createSSLConnection(SSLIOSession ssliosession)
protected NHttpClientIOTarget createConnection(IOSession session)
DefaultClientIOEventDispatchDefaultNHttpClientConnection based on the
given IOSession.
This method can be overridden in a super class in order to provide
a different implementation of the NHttpClientIOTarget interface.
createConnection in class DefaultClientIOEventDispatchsession - the underlying I/O session.public void onConnected(NHttpClientIOTarget conn)
onConnected in class DefaultClientIOEventDispatch