Package org.restlet.ext.nio.internal.way
Class HttpsServerInboundWay
- java.lang.Object
-
- org.restlet.ext.nio.internal.way.Way
-
- org.restlet.ext.nio.internal.way.InboundWay
-
- org.restlet.ext.nio.internal.way.ServerInboundWay
-
- org.restlet.ext.nio.internal.way.HttpServerInboundWay
-
- org.restlet.ext.nio.internal.way.HttpsServerInboundWay
-
- All Implemented Interfaces:
BufferProcessor,CompletionListener,SelectionListener
@Deprecated public class HttpsServerInboundWay extends HttpServerInboundWay
Deprecated.Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.HTTPS server inbound way.
-
-
Constructor Summary
Constructors Constructor Description HttpsServerInboundWay(Connection<Server> connection, int bufferSize)Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SslConnection<Server>getConnection()Deprecated.Returns the parent connection.voidpostProcess(int drained)Deprecated.Does nothing by default.-
Methods inherited from class org.restlet.ext.nio.internal.way.HttpServerInboundWay
clear, createResponse, getLoadScore, getMessages, hasIoInterest, isAvailable, isEmpty, onError, onReceived, onTimeOut
-
Methods inherited from class org.restlet.ext.nio.internal.way.ServerInboundWay
getActualMessage, getHelper, onHeadersCompleted, readStartLine, updateState
-
Methods inherited from class org.restlet.ext.nio.internal.way.InboundWay
createEntity, fillLine, getBuilderIndex, getEntityRegistration, getInterestOperations, isLineReadable, onDrain, onFill, onFillEof, onMessageCompleted, onPostProcessing, processIoBuffer, readHeader, setBuilderIndex, setEntityRegistration
-
Methods inherited from class org.restlet.ext.nio.internal.way.Way
canLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, onClosed, onSelected, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toString
-
-
-
-
Constructor Detail
-
HttpsServerInboundWay
public HttpsServerInboundWay(Connection<Server> connection, int bufferSize)
Deprecated.Constructor.- Parameters:
connection- The parent connection.bufferSize- The byte buffer size.
-
-
Method Detail
-
getConnection
public SslConnection<Server> getConnection()
Deprecated.Description copied from class:WayReturns the parent connection.- Overrides:
getConnectionin classServerInboundWay- 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
-
-