play.libs.ws
Class WSUrlFetch.WSUrlfetchRequest

java.lang.Object
  extended by play.libs.WS.WSRequest
      extended by play.libs.ws.WSUrlFetch.WSUrlfetchRequest
Enclosing class:
WSUrlFetch

public class WSUrlFetch.WSUrlfetchRequest
extends WS.WSRequest


Field Summary
 
Fields inherited from class play.libs.WS.WSRequest
body, fileParams, headers, mimeType, oauthInfo, oauthTokens, parameters, password, timeout, url, username
 
Constructor Summary
protected WSUrlFetch.WSUrlfetchRequest(java.lang.String url)
           
 
Method Summary
 WS.HttpResponse delete()
          Execute a DELETE request.
 WS.HttpResponse get()
          Execute a GET request synchronously.
 WS.HttpResponse head()
          Execute a HEAD request.
 WS.HttpResponse options()
          Execute a OPTIONS request.
 WS.HttpResponse post()
          Execute a POST request.
 WS.HttpResponse put()
          Execute a PUT request.
 WS.HttpResponse trace()
          Execute a TRACE request.
 
Methods inherited from class play.libs.WS.WSRequest
authenticate, body, createQueryString, deleteAsync, files, files, getAsync, headAsync, headers, mimeType, oauth, optionsAsync, params, postAsync, putAsync, setHeader, setParameter, setParameter, setParameters, traceAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSUrlFetch.WSUrlfetchRequest

protected WSUrlFetch.WSUrlfetchRequest(java.lang.String url)
Method Detail

get

public WS.HttpResponse get()
Execute a GET request synchronously.

Specified by:
get in class WS.WSRequest

post

public WS.HttpResponse post()
Execute a POST request.

Specified by:
post in class WS.WSRequest

put

public WS.HttpResponse put()
Execute a PUT request.

Specified by:
put in class WS.WSRequest

delete

public WS.HttpResponse delete()
Execute a DELETE request.

Specified by:
delete in class WS.WSRequest

options

public WS.HttpResponse options()
Execute a OPTIONS request.

Specified by:
options in class WS.WSRequest

head

public WS.HttpResponse head()
Execute a HEAD request.

Specified by:
head in class WS.WSRequest

trace

public WS.HttpResponse trace()
Execute a TRACE request.

Specified by:
trace in class WS.WSRequest


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly