public class WSUrlFetch.WSUrlfetchRequest extends WS.WSRequest
body, encoding, fileParams, followRedirects, headers, mimeType, oauthInfo, oauthSecret, oauthToken, parameters, password, scheme, timeout, url, username, virtualHost
Modifier | Constructor and Description |
---|---|
protected |
WSUrlfetchRequest(String url,
String encoding) |
Modifier and Type | Method and Description |
---|---|
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 |
patch()
Execute a PATCH request.
|
WS.HttpResponse |
post()
Execute a POST request.
|
WS.HttpResponse |
put()
Execute a PUT request.
|
WS.HttpResponse |
trace()
Execute a TRACE request.
|
authenticate, authenticate, basicAuthHeader, body, createQueryString, deleteAsync, encode, files, files, followRedirects, getAsync, headAsync, headers, mimeType, oauth, oauth, optionsAsync, params, patchAsync, postAsync, putAsync, setHeader, setParameter, setParameter, setParameters, timeout, traceAsync, withVirtualHost
public WS.HttpResponse get()
get
in class WS.WSRequest
public WS.HttpResponse patch()
WS.WSRequest
patch
in class WS.WSRequest
public WS.HttpResponse post()
post
in class WS.WSRequest
public WS.HttpResponse put()
put
in class WS.WSRequest
public WS.HttpResponse delete()
delete
in class WS.WSRequest
public WS.HttpResponse options()
options
in class WS.WSRequest
public WS.HttpResponse head()
head
in class WS.WSRequest
public WS.HttpResponse trace()
trace
in class WS.WSRequest
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly