Package org.restlet.ext.nio.internal.way
Class HttpsClientInboundWay
- java.lang.Object
-
- org.restlet.ext.nio.internal.way.Way
-
- org.restlet.ext.nio.internal.way.InboundWay
-
- org.restlet.ext.nio.internal.way.ClientInboundWay
-
- org.restlet.ext.nio.internal.way.HttpClientInboundWay
-
- org.restlet.ext.nio.internal.way.HttpsClientInboundWay
-
- All Implemented Interfaces:
BufferProcessor,CompletionListener,SelectionListener
@Deprecated public class HttpsClientInboundWay extends HttpClientInboundWay
Deprecated.Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.HTTPS client inbound way.
-
-
Constructor Summary
Constructors Constructor Description HttpsClientInboundWay(Connection<Client> connection, int bufferSize)Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SslConnection<Client>getConnection()Deprecated.Returns the parent connection.voidpostProcess(int drained)Deprecated.Does nothing by default.-
Methods inherited from class org.restlet.ext.nio.internal.way.HttpClientInboundWay
clear, createResponse, getLoadScore, getMessages, hasIoInterest, isEmpty, onError, onMessageCompleted, onTimeOut
-
Methods inherited from class org.restlet.ext.nio.internal.way.ClientInboundWay
copyResponseTransportHeaders, createStatus, getActualMessage, getHelper, getInterestOperations, onHeadersCompleted, onReceived, readStartLine
-
Methods inherited from class org.restlet.ext.nio.internal.way.InboundWay
createEntity, fillLine, getBuilderIndex, getEntityRegistration, isLineReadable, onDrain, onFill, onFillEof, onPostProcessing, processIoBuffer, readHeader, setBuilderIndex, setEntityRegistration, updateState
-
Methods inherited from class org.restlet.ext.nio.internal.way.Way
canLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toString
-
-
-
-
Constructor Detail
-
HttpsClientInboundWay
public HttpsClientInboundWay(Connection<Client> connection, int bufferSize)
Deprecated.Constructor.- Parameters:
connection- The parent connection.bufferSize- The byte buffer size.
-
-
Method Detail
-
getConnection
public SslConnection<Client> getConnection()
Deprecated.Description copied from class:WayReturns the parent connection.- Overrides:
getConnectionin classClientInboundWay- Returns:
- The parent connection.
-
postProcess
public void postProcess(int drained) throws java.io.IOExceptionDeprecated.Description copied from class:WayDoes nothing by default.- Specified by:
postProcessin interfaceBufferProcessor- Overrides:
postProcessin classWay- Parameters:
drained- The number of bytes drained or -1 if the filling source has ended.- Throws:
java.io.IOException
-
-