Package org.apache.http.impl.nio
Class SSLServerIOEventDispatch
- java.lang.Object
-
- org.apache.http.impl.nio.SSLServerIOEventDispatch
-
- All Implemented Interfaces:
IOEventDispatch
@Deprecated public class SSLServerIOEventDispatch extends java.lang.Object implements IOEventDispatch
Deprecated.(4.2) useSSLServerIOEventDispatch
Default implementation ofIOEventDispatch
interface for SSL (encrypted) server-side HTTP connections.- Since:
- 4.0
-
-
Field Summary
-
Fields inherited from interface org.apache.http.nio.reactor.IOEventDispatch
CONNECTION_KEY
-
-
Constructor Summary
Constructors Constructor Description SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.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 givenSSLContext
.SSLServerIOEventDispatch(NHttpServiceHandler 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 givenSSLContext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
connected(IOSession session)
Deprecated.Triggered after the given session has been just created.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.
-
-
-
Constructor Detail
-
SSLServerIOEventDispatch
public SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.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 givenSSLContext
. This I/O dispatcher will transparently handle SSL protocol aspects for HTTP connections.- Parameters:
handler
- the server protocol handler.sslContext
- the SSL context.sslHandler
- the SSL handler.params
- HTTP parameters.
-
SSLServerIOEventDispatch
public SSLServerIOEventDispatch(NHttpServiceHandler 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 givenSSLContext
. This I/O dispatcher will transparently handle SSL protocol aspects for HTTP connections.- Parameters:
handler
- the server protocol handler.sslContext
- the SSL context.params
- HTTP parameters.
-
-
Method Detail
-
connected
public void connected(IOSession session)
Deprecated.Description copied from interface:IOEventDispatch
Triggered after the given session has been just created.- Specified by:
connected
in interfaceIOEventDispatch
- Parameters:
session
- the I/O session.
-
disconnected
public void disconnected(IOSession session)
Deprecated.Description copied from interface:IOEventDispatch
Triggered when the given session has been terminated.- Specified by:
disconnected
in interfaceIOEventDispatch
- Parameters:
session
- the I/O session.
-
inputReady
public void inputReady(IOSession session)
Deprecated.Description copied from interface:IOEventDispatch
Triggered when the given session has input pending.- Specified by:
inputReady
in interfaceIOEventDispatch
- Parameters:
session
- the I/O session.
-
outputReady
public void outputReady(IOSession session)
Deprecated.Description copied from interface:IOEventDispatch
Triggered when the given session is ready for output.- Specified by:
outputReady
in interfaceIOEventDispatch
- Parameters:
session
- the I/O session.
-
timeout
public void timeout(IOSession session)
Deprecated.Description copied from interface:IOEventDispatch
Triggered when the given session as timed out.- Specified by:
timeout
in interfaceIOEventDispatch
- Parameters:
session
- the I/O session.
-
-