|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
HTTP client helper based on NIO blocking sockets.
Field Summary |
---|
Fields inherited from class org.restlet.engine.connector.ClientConnectionHelper |
---|
CONNECTOR_LATCH |
Fields inherited from class org.restlet.engine.connector.BaseHelper |
---|
clientSide, controller, inboundMessages, outboundMessages |
Constructor Summary | |
---|---|
HttpClientHelper(Client client)
Constructor. |
Method Summary | |
---|---|
InboundWay |
createInboundWay(Connection<Client> connection,
int bufferSize)
Creates an inbound way for the given connection. |
OutboundWay |
createOutboundWay(Connection<Client> connection,
int bufferSize)
Creates an outbound way for the given connection. |
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.ConnectorHelper |
---|
getConnectorService, getContext, getProtocols, update |
Methods inherited from class org.restlet.engine.RestletHelper |
---|
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpClientHelper(Client client)
client
- The client to help.Method Detail |
---|
public InboundWay createInboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelper
createInboundWay
in class ConnectionHelper<Client>
connection
- The parent connection.bufferSize
- The byte buffer size.
public OutboundWay createOutboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelper
createOutboundWay
in class ConnectionHelper<Client>
connection
- The parent connection.bufferSize
- The byte buffer size.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |