org.restlet.client.engine.http
Class GwtHttpClientHelper

java.lang.Object
  extended by org.restlet.client.engine.Helper
      extended by org.restlet.client.engine.RestletHelper<T>
          extended by org.restlet.client.engine.ConnectorHelper<Client>
              extended by org.restlet.client.engine.ClientHelper
                  extended by org.restlet.client.engine.http.HttpClientHelper
                      extended by org.restlet.client.engine.http.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

Constructor Summary
GwtHttpClientHelper(Client client)
          Constructor.
 
Method Summary
 ClientCall create(Request request)
          Creates a low-level HTTP client call from a high-level uniform call.
 
Methods inherited from class org.restlet.client.engine.http.HttpClientHelper
getAdapter, handle, setAdapter
 
Methods inherited from class org.restlet.client.engine.ClientHelper
getConnectTimeout
 
Methods inherited from class org.restlet.client.engine.ConnectorHelper
getContext, getProtocols, start, stop, update
 
Methods inherited from class org.restlet.client.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

GwtHttpClientHelper

public GwtHttpClientHelper(Client client)
Constructor.

Parameters:
client - The client to help.
Method Detail

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..