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(java.lang.String url,
java.lang.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, withVirtualHostprotected WSUrlfetchRequest(java.lang.String url,
java.lang.String encoding)
public WS.HttpResponse get()
get in class WS.WSRequestpublic WS.HttpResponse patch()
WS.WSRequestpatch in class WS.WSRequestpublic WS.HttpResponse post()
post in class WS.WSRequestpublic WS.HttpResponse put()
put in class WS.WSRequestpublic WS.HttpResponse delete()
delete in class WS.WSRequestpublic WS.HttpResponse options()
options in class WS.WSRequestpublic WS.HttpResponse head()
head in class WS.WSRequestpublic WS.HttpResponse trace()
trace in class WS.WSRequestGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly