org.restlet.engine.connector
Class HttpClientHelper
java.lang.Object
org.restlet.engine.Helper
org.restlet.engine.RestletHelper<T>
org.restlet.engine.ConnectorHelper<T>
org.restlet.engine.connector.BaseHelper<T>
org.restlet.engine.connector.ConnectionHelper<Client>
org.restlet.engine.connector.ClientConnectionHelper
org.restlet.engine.connector.HttpClientHelper
public class HttpClientHelper
- extends ClientConnectionHelper
HTTP client helper based on NIO blocking sockets.
- Author:
- Jerome Louvel
Methods inherited from class org.restlet.engine.connector.ClientConnectionHelper |
createConnection, createController, createSocketChannel, createSocketChannel, doHandleInbound, doHandleOutbound, getBestConnection, getProxyHost, getProxyPort, getSocketAddress, getSocketConnectTimeoutMs, handle, handleInbound, handleOutbound, isControllerDaemon, isProxying, start, stop, unblock |
Methods inherited from class org.restlet.engine.connector.ConnectionHelper |
addOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddress |
Methods inherited from class org.restlet.engine.connector.BaseHelper |
control, 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, traceWorkerService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientHelper
public HttpClientHelper(Client client)
- Constructor.
- Parameters:
client
- The client to help.
createInboundWay
public InboundWay createInboundWay(Connection<Client> connection,
int bufferSize)
- Description copied from class:
ConnectionHelper
- Creates an inbound way for the given connection.
- Specified by:
createInboundWay
in class ConnectionHelper<Client>
- Parameters:
connection
- The parent connection.bufferSize
- The byte buffer size.
- Returns:
- The inbound way created.
createOutboundWay
public OutboundWay createOutboundWay(Connection<Client> connection,
int bufferSize)
- Description copied from class:
ConnectionHelper
- Creates an outbound way for the given connection.
- Specified by:
createOutboundWay
in class ConnectionHelper<Client>
- Parameters:
connection
- The parent connection.bufferSize
- The byte buffer size.
- Returns:
- The outbound way created.
Copyright © 2005-2013 Restlet.