|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.nio.SSLServerIOEventDispatch
SSLServerIOEventDispatch
@Deprecated 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.SOCKET_BUFFER_SIZECoreConnectionPNames.MAX_HEADER_COUNTCoreConnectionPNames.MAX_LINE_LENGTH
| Field Summary | |
|---|---|
protected NHttpServiceHandler |
handler
Deprecated. |
protected HttpParams |
params
Deprecated. |
protected SSLContext |
sslcontext
Deprecated. |
protected SSLIOSessionHandler |
sslHandler
Deprecated. |
| 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,
SSLIOSessionHandler 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 | |
|---|---|
void |
connected(IOSession session)
Deprecated. Triggered after the given session has been just created. |
protected ByteBufferAllocator |
createByteBufferAllocator()
Deprecated. Creates an instance of HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
protected NHttpServerIOTarget |
createConnection(IOSession session)
Deprecated. Creates an instance of DefaultNHttpServerConnection based on the
given IOSession. |
protected HttpRequestFactory |
createHttpRequestFactory()
Deprecated. Creates an instance of DefaultHttpRequestFactory to be used
by HTTP connections for creating HttpRequest objects. |
protected SSLIOSession |
createSSLIOSession(IOSession session,
SSLContext sslcontext,
SSLIOSessionHandler sslHandler)
Deprecated. Creates an instance of SSLIOSession decorating the given
IOSession. |
void |
disconnected(IOSession session)
Deprecated. Triggered when the given session has been terminated. |
void |
inputReady(IOSession session)
Deprecated. Triggered when the given session has input pending. |
void |
outputReady(IOSession session)
Deprecated. Triggered when the given session is ready for output. |
void |
timeout(IOSession session)
Deprecated. Triggered when the given session as timed out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final NHttpServiceHandler handler
protected final SSLContext sslcontext
protected final SSLIOSessionHandler sslHandler
protected final HttpParams params
| Constructor Detail |
|---|
public SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
SSLIOSessionHandler 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 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 ByteBufferAllocator createByteBufferAllocator()
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects.
This method can be overridden in a super class in order to provide
a different implementation of the ByteBufferAllocator interface.
protected HttpRequestFactory createHttpRequestFactory()
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.
protected NHttpServerIOTarget createConnection(IOSession session)
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.
protected SSLIOSession createSSLIOSession(IOSession session,
SSLContext sslcontext,
SSLIOSessionHandler 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 handler.
public void connected(IOSession session)
IOEventDispatch
connected in interface IOEventDispatchsession - the I/O session.public void disconnected(IOSession session)
IOEventDispatch
disconnected in interface IOEventDispatchsession - the I/O session.public void inputReady(IOSession session)
IOEventDispatch
inputReady in interface IOEventDispatchsession - the I/O session.public void outputReady(IOSession session)
IOEventDispatch
outputReady in interface IOEventDispatchsession - the I/O session.public void timeout(IOSession session)
IOEventDispatch
timeout in interface IOEventDispatchsession - the I/O session.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||