play.libs
Class WS

java.lang.Object
  extended by play.libs.WS

public class WS
extends java.lang.Object

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

WS

public WS()
Method Detail

url

public static WS.WSRequestHolder url(java.lang.String url)
Prepare a new request. You can then construct it by chaining calls.

Parameters:
url - the URL to request