|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.libs.WS
public class WS
Asynchronous API to to query web services, as an http client.
The value returned is a Promise<Response>
, and you should use Play's asynchronous mechanisms to use this response.
Nested Class Summary | |
---|---|
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 Summary | |
---|---|
WS()
|
Method Summary | |
---|---|
static WS.WSRequestHolder |
url(java.lang.String url)
Prepare a new request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WS()
Method Detail |
---|
public static WS.WSRequestHolder url(java.lang.String url)
url
- the URL to request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |