Package | Description |
---|---|
play.libs | |
play.libs.ws |
Modifier and Type | Method and Description |
---|---|
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,
OAuth.TokenPair oauthTokens)
Deprecated.
|
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.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. the number of seconds before cutting the connection - default to
60 seconds
|
static WS.WSRequest |
WS.url(java.lang.String url)
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.
|
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,
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
|
Modifier and Type | Class and Description |
---|---|
class |
WSAsync.WSAsyncRequest |
class |
WSUrlFetch.WSUrlfetchRequest |
Modifier and Type | Method and Description |
---|---|
WS.WSRequest |
WSUrlFetch.newRequest(java.lang.String url,
java.lang.String encoding) |
WS.WSRequest |
WSAsync.newRequest(java.lang.String url,
java.lang.String encoding) |
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly