public class WS
extends java.lang.Object
Promise<Response>
, and you should use Play's asynchronous mechanisms to use this response.Modifier and Type | Class and Description |
---|---|
static interface |
WS.Cookie
A WS Cookie.
|
static class |
WS.Response
A WS response.
|
static interface |
WS.SignatureCalculator
Sign a WS call.
|
static class |
WS.WSRequest
Provides the bridge between Play and the underlying ning request
|
static class |
WS.WSRequestHolder
provides the User facing API for building WS request.
|
Constructor and Description |
---|
WS() |
Modifier and Type | Method and Description |
---|---|
static WS.WSRequestHolder |
url(java.lang.String url)
Prepare a new request.
|
public static WS.WSRequestHolder url(java.lang.String url)
url
- the URL to request