public class HttpsClientOutboundWay extends HttpClientOutboundWay
| Constructor and Description |
|---|
HttpsClientOutboundWay(Connection<?> connection,
int bufferSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SslConnection<Client> |
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.
|
clear, getLoadScore, getMessages, handle, isEmpty, onError, onHeadersCompleted, onMessageCompleted, onTimeOut, updateStateaddHeaders, addRequestHeaders, getActualMessage, writeStartLineaddEntityHeaders, addGeneralHeaders, flushBuffer, getEntityChannel, getEntityChannelType, getEntityFileChannel, getEntityInterestOps, getEntitySelectableChannel, getEntitySelectionKey, getHeaderIndex, getInterestOperations, getVersion, onDrain, onFill, onFillEof, onPostProcessing, processIoBuffer, setEntityChannel, setEntityChannelType, setEntitySelectionKey, setHeaderIndex, shouldBeChunked, writeLinecanLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getHelper, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toStringpublic HttpsClientOutboundWay(Connection<?> connection, int bufferSize)
connection - The parent connection.bufferSize - The byte buffer size.public SslConnection<Client> getConnection()
WaygetConnection in class ClientOutboundWayprotected 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.IOExceptionCopyright © 2005–2016. All rights reserved.