|
Restlet Framework 2.2.2 Android |
|||||||||
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.connector.ConnectorHelper<Client>
org.restlet.engine.connector.ClientHelper
public class ClientHelper
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. |
Constructor Summary | |
---|---|
ClientHelper(Client client)
Constructor. |
Method Summary | |
---|---|
int |
getSocketConnectTimeoutMs()
Returns the connection timeout. |
Methods inherited from class org.restlet.engine.connector.ConnectorHelper |
---|
getConnectorService, getContext, getProtocols, start, stop, update |
Methods inherited from class org.restlet.engine.RestletHelper |
---|
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, handle, setHelped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientHelper(Client client)
client
- The client to help.Method Detail |
---|
public int getSocketConnectTimeoutMs()
|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |