public class HttpsClientInboundWay extends HttpClientInboundWay
Constructor and Description |
---|
HttpsClientInboundWay(Connection<Client> connection,
int bufferSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SslConnection<Client> |
getConnection()
Returns the parent connection.
|
void |
postProcess(int drained)
Does nothing by default.
|
clear, createResponse, getLoadScore, getMessages, hasIoInterest, isEmpty, onError, onMessageCompleted, onTimeOut
copyResponseTransportHeaders, createStatus, getActualMessage, getHelper, getInterestOperations, onHeadersCompleted, onReceived, readStartLine
createEntity, fillLine, getBuilderIndex, getEntityRegistration, isLineReadable, onDrain, onFill, onFillEof, onPostProcessing, processIoBuffer, readHeader, setBuilderIndex, setEntityRegistration, updateState
canLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toString
public HttpsClientInboundWay(Connection<Client> connection, int bufferSize)
connection
- The parent connection.bufferSize
- The byte buffer size.public SslConnection<Client> getConnection()
Way
getConnection
in class ClientInboundWay
public void postProcess(int drained) throws IOException
Way
postProcess
in interface BufferProcessor
postProcess
in class Way
drained
- The number of bytes drained or -1 if the filling source has
ended.IOException
Copyright © 2005–2016. All rights reserved.