org.restlet.engine
Class ClientHelper
java.lang.Object
org.restlet.engine.Helper
org.restlet.engine.RestletHelper<T>
org.restlet.engine.ConnectorHelper<Client>
org.restlet.engine.ClientHelper
- Direct Known Subclasses:
- HttpClientHelper, LocalClientHelper, RiapClientHelper
public class ClientHelper
- extends ConnectorHelper<Client>
Client connector helper. Base client helper based on NIO non blocking
sockets. Here is the list of parameters that are supported. They should be
set in the Client's context before it is started:
Parameter name |
Value type |
Default value |
Description |
socketConnectTimeoutMs |
int |
0 |
The socket connection timeout or 0 for unlimited wait. |
- Author:
- Jerome Louvel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientHelper
public ClientHelper(Client client)
- Constructor.
- Parameters:
client
- The client to help.
getSocketConnectTimeoutMs
public int getSocketConnectTimeoutMs()
- Returns the connection timeout.
- Returns:
- The connection timeout.
Copyright © 2005-2013 Restlet.