Package org.apache.http.impl.nio.reactor
Class AbstractIODispatch<T>
java.lang.Object
org.apache.http.impl.nio.reactor.AbstractIODispatch<T>
- Type Parameters:
T- the connection type.
- All Implemented Interfaces:
IOEventDispatch
- Direct Known Subclasses:
DefaultClientIOEventDispatch,DefaultHttpClientIODispatch,DefaultHttpServerIODispatch,DefaultServerIOEventDispatch
Abstract
IOEventDispatch implementation that supports both plain (non-encrypted)
and SSL encrypted HTTP connections.- Since:
- 4.2
-
Field Summary
Fields inherited from interface org.apache.http.nio.reactor.IOEventDispatch
CONNECTION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered after the given session has been just created.voiddisconnected(IOSession session) Triggered when the given session has been terminated.voidinputReady(IOSession session) Triggered when the given session has input pending.voidoutputReady(IOSession session) Triggered when the given session is ready for output.voidTriggered when the given session as timed out.
-
Constructor Details
-
AbstractIODispatch
public AbstractIODispatch()
-
-
Method Details
-
connected
Description copied from interface:IOEventDispatchTriggered after the given session has been just created.- Specified by:
connectedin interfaceIOEventDispatch- Parameters:
session- the I/O session.
-
disconnected
Description copied from interface:IOEventDispatchTriggered when the given session has been terminated.- Specified by:
disconnectedin interfaceIOEventDispatch- Parameters:
session- the I/O session.
-
inputReady
Description copied from interface:IOEventDispatchTriggered when the given session has input pending.- Specified by:
inputReadyin interfaceIOEventDispatch- Parameters:
session- the I/O session.
-
outputReady
Description copied from interface:IOEventDispatchTriggered when the given session is ready for output.- Specified by:
outputReadyin interfaceIOEventDispatch- Parameters:
session- the I/O session.
-
timeout
Description copied from interface:IOEventDispatchTriggered when the given session as timed out.- Specified by:
timeoutin interfaceIOEventDispatch- Parameters:
session- the I/O session.
-