public class HttpsServerOutboundWay extends HttpServerOutboundWay
| Constructor and Description |
|---|
HttpsServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SslConnection<Server> |
getConnection()
Returns the parent connection.
|
protected boolean |
hasIoInterest()
Indicates if we want to be selected for IO processing when the socket
related socket is prepared.
|
void |
postProcess(int drained)
Does nothing by default.
|
int |
preProcess(int maxDrained,
Object... args)
Does nothing by default.
|
clear, getLoadScore, getMessages, handle, isEmpty, onError, onMessageCompleted, onTimeOut, updateStateaddHeaders, addResponseHeaders, getActualMessage, writeStartLineaddEntityHeaders, addGeneralHeaders, flushBuffer, getEntityChannel, getEntityChannelType, getEntityFileChannel, getEntityInterestOps, getEntitySelectableChannel, getEntitySelectionKey, getHeaderIndex, getInterestOperations, getVersion, onDrain, onFill, onFillEof, onHeadersCompleted, onPostProcessing, processIoBuffer, setEntityChannel, setEntityChannelType, setEntitySelectionKey, setHeaderIndex, shouldBeChunked, writeLinecanLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getHelper, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toStringpublic HttpsServerOutboundWay(Connection<Server> connection, int bufferSize)
connection - The parent connection.bufferSize - The byte buffer size.public SslConnection<Server> getConnection()
WaygetConnection in class ServerOutboundWayprotected boolean hasIoInterest()
WayhasIoInterest in class OutboundWaypublic void postProcess(int drained)
throws IOException
WaypostProcess in interface BufferProcessorpostProcess in class Waydrained - The number of bytes drained or -1 if the filling source has
ended.IOExceptionpublic int preProcess(int maxDrained,
Object... args)
throws IOException
WaypreProcess in interface BufferProcessorpreProcess in class WaymaxDrained - The maximum number of bytes drained by this call or 0 for
unlimited length.args - The optional arguments to pass back to the callbacks.IOExceptionCopyright © 2005–2015. All rights reserved.