Package org.restlet.ext.nio.internal.way
Class HttpsClientOutboundWay
- java.lang.Object
-
- org.restlet.ext.nio.internal.way.Way
-
- org.restlet.ext.nio.internal.way.OutboundWay
-
- org.restlet.ext.nio.internal.way.ClientOutboundWay
-
- org.restlet.ext.nio.internal.way.HttpClientOutboundWay
-
- org.restlet.ext.nio.internal.way.HttpsClientOutboundWay
-
- All Implemented Interfaces:
BufferProcessor,CompletionListener,SelectionListener
@Deprecated public class HttpsClientOutboundWay extends HttpClientOutboundWay
Deprecated.Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.HTTPS client outbound way.
-
-
Constructor Summary
Constructors Constructor Description HttpsClientOutboundWay(Connection<?> 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.protected booleanhasIoInterest()Deprecated.Indicates if we want to be selected for IO processing when the socket related socket is prepared.voidpostProcess(int drained)Deprecated.Does nothing by default.-
Methods inherited from class org.restlet.ext.nio.internal.way.HttpClientOutboundWay
clear, getLoadScore, getMessages, handle, isEmpty, onError, onHeadersCompleted, onMessageCompleted, onTimeOut, updateState
-
Methods inherited from class org.restlet.ext.nio.internal.way.ClientOutboundWay
addHeaders, addRequestHeaders, getActualMessage, writeStartLine
-
Methods inherited from class org.restlet.ext.nio.internal.way.OutboundWay
addEntityHeaders, addGeneralHeaders, flushBuffer, getEntityChannel, getEntityChannelType, getEntityFileChannel, getEntityInterestOps, getEntitySelectableChannel, getEntitySelectionKey, getHeaderIndex, getInterestOperations, getVersion, onDrain, onFill, onFillEof, onPostProcessing, processIoBuffer, setEntityChannel, setEntityChannelType, setEntitySelectionKey, setHeaderIndex, shouldBeChunked, writeLine
-
Methods inherited from class org.restlet.ext.nio.internal.way.Way
canLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getHelper, getIoState, getLineBuilder, getLineBuilderState, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toString
-
-
-
-
Constructor Detail
-
HttpsClientOutboundWay
public HttpsClientOutboundWay(Connection<?> 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 classClientOutboundWay- Returns:
- The parent connection.
-
hasIoInterest
protected boolean hasIoInterest()
Deprecated.Description copied from class:WayIndicates if we want to be selected for IO processing when the socket related socket is prepared.- Overrides:
hasIoInterestin classOutboundWay- Returns:
- True if we want to be selected for IO processing when the socket is ready.
-
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
-
-