|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.nio.reactor.AbstractIODispatch<NHttpServerIOTarget>
org.apache.http.impl.nio.DefaultServerIOEventDispatch
org.apache.http.impl.nio.ssl.SSLServerIOEventDispatch
DefaultHttpServerIODispatch
@Deprecated @Immutable public class 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:
CoreProtocolPNames.HTTP_ELEMENT_CHARSETCoreConnectionPNames.SO_TIMEOUTCoreConnectionPNames.SOCKET_BUFFER_SIZECoreConnectionPNames.MAX_HEADER_COUNTCoreConnectionPNames.MAX_LINE_LENGTH
| Field Summary |
|---|
| Fields inherited from class org.apache.http.impl.nio.DefaultServerIOEventDispatch |
|---|
allocator, handler, params |
| Fields inherited from interface org.apache.http.nio.reactor.IOEventDispatch |
|---|
CONNECTION_KEY |
| Constructor Summary | |
|---|---|
SSLServerIOEventDispatch(NHttpServiceHandler handler,
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. |
|
SSLServerIOEventDispatch(NHttpServiceHandler handler,
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. |
|
| Method Summary | |
|---|---|
protected NHttpServerIOTarget |
createConnection(IOSession session)
Deprecated. Creates an instance of DefaultNHttpServerConnection based on the
given IOSession. |
protected NHttpServerIOTarget |
createSSLConnection(SSLIOSession ssliosession)
Deprecated. |
protected SSLIOSession |
createSSLIOSession(IOSession session,
SSLContext sslcontext,
SSLSetupHandler sslHandler)
Deprecated. Creates an instance of SSLIOSession decorating the given
IOSession. |
void |
onConnected(NHttpServerIOTarget conn)
Deprecated. |
| Methods inherited from class org.apache.http.impl.nio.DefaultServerIOEventDispatch |
|---|
createByteBufferAllocator, createHttpRequestFactory, onClosed, onException, onInputReady, onOutputReady, onTimeout |
| Methods inherited from class org.apache.http.impl.nio.reactor.AbstractIODispatch |
|---|
connected, disconnected, inputReady, outputReady, timeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params)
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 setup handler.params - HTTP parameters.
public SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
HttpParams params)
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.| Method Detail |
|---|
protected SSLIOSession createSSLIOSession(IOSession session,
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 NHttpServerIOTarget createSSLConnection(SSLIOSession ssliosession)
protected NHttpServerIOTarget createConnection(IOSession session)
DefaultServerIOEventDispatchDefaultNHttpServerConnection 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.
createConnection in class DefaultServerIOEventDispatchsession - the underlying I/O session.
public void onConnected(NHttpServerIOTarget conn)
onConnected in class DefaultServerIOEventDispatch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||