WS.WSRequest |
WS.WSRequest.authenticate(java.lang.String username,
java.lang.String password) |
define client authentication for a server host provided credentials will be used during the request the basic
scheme will be used
|
WS.WSRequest |
WS.WSRequest.authenticate(java.lang.String username,
java.lang.String password,
WS.Scheme scheme) |
Define client authentication for a server host provided credentials will be used during the request
|
WS.WSRequest |
WS.WSRequest.body(java.lang.Object body) |
Add the given body to the request.
|
WS.WSRequest |
WS.WSRequest.files(java.io.File... files) |
Add files to request.
|
WS.WSRequest |
WS.WSRequest.files(WS.FileParam... fileParams) |
Add fileParams aka File and Name parameter to the request.
|
WS.WSRequest |
WS.WSRequest.followRedirects(boolean value) |
Indicate if the WS should continue when hitting a 301 or 302
|
WS.WSRequest |
WS.WSRequest.headers(java.util.Map<java.lang.String,java.lang.String> headers) |
Use the provided headers when executing request.
|
WS.WSRequest |
WS.WSRequest.mimeType(java.lang.String mimeType) |
Add a MimeType to the web service request.
|
WS.WSRequest |
WS.WSImpl.newRequest(java.lang.String url,
java.lang.String encoding) |
|
WS.WSRequest |
WS.WSRequest.oauth(OAuth.ServiceInfo oauthInfo,
java.lang.String token,
java.lang.String secret) |
Sign the request for do a call to a server protected by OAuth
|
WS.WSRequest |
WS.WSRequest.oauth(OAuth.ServiceInfo oauthInfo,
OAuth.TokenPair oauthTokens) |
Deprecated.
|
WS.WSRequest |
WS.WSRequest.params(java.util.Map<java.lang.String,java.lang.Object> parameters) |
Add parameters to request.
|
WS.WSRequest |
WS.WSRequest.setHeader(java.lang.String name,
java.lang.String value) |
Add a header to the request
|
WS.WSRequest |
WS.WSRequest.setParameter(java.lang.String name,
java.lang.Object value) |
|
WS.WSRequest |
WS.WSRequest.setParameter(java.lang.String name,
java.lang.String value) |
Add a parameter to the request
|
WS.WSRequest |
WS.WSRequest.setParameters(java.util.Map<java.lang.String,java.lang.String> parameters) |
Add parameters to request.
|
WS.WSRequest |
WS.WSRequest.timeout(java.lang.String timeout) |
Set the value of the request timeout, i.e.
|
static WS.WSRequest |
WS.url(java.lang.String url) |
Build a WebService Request with the given URL.
|
static WS.WSRequest |
WS.url(java.lang.String url,
java.lang.String... params) |
Build a WebService Request with the given URL.
|
WS.WSRequest |
WS.WSWithEncoding.url(java.lang.String url) |
Build a WebService Request with the given URL.
|
WS.WSRequest |
WS.WSWithEncoding.url(java.lang.String url,
java.lang.String... params) |
Build a WebService Request with the given URL.
|
WS.WSRequest |
WS.WSRequest.withVirtualHost(java.lang.String virtualHost) |
Sets the virtual host to use in this request
|