org.restlet.client.engine.adapter
Class GwtHttpClientHelper
java.lang.Object
org.restlet.client.engine.Helper
org.restlet.client.engine.RestletHelper<T>
org.restlet.client.engine.ConnectorHelper<Client>
org.restlet.client.engine.ClientHelper
org.restlet.client.engine.adapter.HttpClientHelper
org.restlet.client.engine.adapter.GwtHttpClientHelper
public class GwtHttpClientHelper
- extends HttpClientHelper
HTTP client connector using the GWT's HTTP module. Here is the list of
parameters that are supported:
Parameter name |
Value type |
Default value |
Description |
timeout |
int |
0 |
Sets the request timeout to a specified timeout, in milliseconds. A
timeout of zero is interpreted as an infinite timeout. |
- Author:
- Jerome Louvel
Method Summary |
ClientCall |
create(Request request)
Creates a low-level HTTP client call from a high-level uniform call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GwtHttpClientHelper
public GwtHttpClientHelper(Client client)
- Constructor.
- Parameters:
client
- The client to help.
create
public ClientCall create(Request request)
- Creates a low-level HTTP client call from a high-level uniform call.
- Specified by:
create
in class HttpClientHelper
- Parameters:
request
- The high-level request.
- Returns:
- A low-level HTTP client call.
Copyright © 2005-2013 Restlet S.A.S..