@Deprecated public class HttpsClientHelper extends ClientConnectionHelper
| Parameter name | Value type | Default value | Description |
|---|---|---|---|
| sslContextFactory | String | org.restlet.engine.ssl.DefaultSslContextFactory | Let you specify a SslContextFactory qualified class name as a
parameter, or an instance as an attribute for a more complete and flexible
SSL context setting. |
DefaultSslContextFactory class.CONNECTOR_LATCHclientSide, controller, inboundMessages, outboundMessages| Constructor and Description |
|---|
HttpsClientHelper(Client client)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.restlet.ext.nio.internal.connection.Connection<Client> |
createConnection(java.nio.channels.SocketChannel socketChannel,
org.restlet.ext.nio.internal.controller.ConnectionController controller,
java.net.InetSocketAddress socketAddress)
Deprecated.
Creates a connection associated to the given socket.
|
org.restlet.ext.nio.internal.way.InboundWay |
createInboundWay(org.restlet.ext.nio.internal.connection.Connection<Client> connection,
int bufferSize)
Deprecated.
Creates an inbound way for the given connection.
|
org.restlet.ext.nio.internal.way.OutboundWay |
createOutboundWay(org.restlet.ext.nio.internal.connection.Connection<Client> connection,
int bufferSize)
Deprecated.
Creates an outbound way for the given connection.
|
protected javax.net.ssl.SSLContext |
getSslContext()
Deprecated.
Returns the SSL context.
|
protected void |
setSslContext(javax.net.ssl.SSLContext sslContext)
Deprecated.
Sets the SSL context.
|
void |
start()
Deprecated.
|
createController, createSocketChannel, createSocketChannel, doHandleInbound, doHandleOutbound, getBestConnection, getProxyHost, getProxyPort, getSocketAddress, getSocketConnectTimeoutMs, handle, handleInbound, handleOutbound, isControllerDaemon, isProxying, stop, unblockaddOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddresscontrol, createControllerService, createRequest, createWorkerService, execute, getController, getControllerSleepTimeMs, getInboundBufferSize, getInboundMessages, getLowThreads, getMaxIoIdleTimeMs, getMaxQueued, getMaxThreadIdleTimeMs, getMaxThreads, getMinThreads, getOutboundBufferSize, getOutboundMessages, getRequest, getThrottleTimeMs, getTraceStream, getTransport, getWorkerService, handleInbound, handleOutbound, hasWorkerThreads, isClientSide, isDirectBuffers, isServerSide, isTracing, isWorkerServiceOverloaded, onInboundError, onOutboundError, traceWorkerServicegetConnectorService, getContext, getProtocols, updategetAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelpedpublic HttpsClientHelper(Client client)
client - The client to help.public org.restlet.ext.nio.internal.connection.Connection<Client> createConnection(java.nio.channels.SocketChannel socketChannel, org.restlet.ext.nio.internal.controller.ConnectionController controller, java.net.InetSocketAddress socketAddress) throws java.io.IOException
ConnectionHelpercreateConnection in class ClientConnectionHelpersocketChannel - The underlying NIO socket channel.controller - The underlying IO controller.socketAddress - The associated IP address.java.io.IOExceptionpublic org.restlet.ext.nio.internal.way.InboundWay createInboundWay(org.restlet.ext.nio.internal.connection.Connection<Client> connection, int bufferSize)
ConnectionHelpercreateInboundWay in class ConnectionHelper<Client>connection - The parent connection.bufferSize - The byte buffer size.public org.restlet.ext.nio.internal.way.OutboundWay createOutboundWay(org.restlet.ext.nio.internal.connection.Connection<Client> connection, int bufferSize)
ConnectionHelpercreateOutboundWay in class ConnectionHelper<Client>connection - The parent connection.bufferSize - The byte buffer size.protected javax.net.ssl.SSLContext getSslContext()
protected void setSslContext(javax.net.ssl.SSLContext sslContext)
sslContext - The SSL context.public void start()
throws java.lang.Exception
start in class ClientConnectionHelperjava.lang.ExceptionCopyright © 2005-2020 Restlet.