play.libs.ws
Class WS

java.lang.Object
  extended by play.libs.ws.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.


Constructor Summary
WS()
           
 
Method Summary
static WSClient client()
           
static 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

client

public static WSClient client()

url

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

Parameters:
url - the URL to request