com.wizzardo.tools.http
Class Request
java.lang.Object
com.wizzardo.tools.http.RequestArguments<Request>
com.wizzardo.tools.http.Request
public class Request
- extends RequestArguments<Request>
| Fields inherited from class com.wizzardo.tools.http.RequestArguments |
charsetForEncoding, data, dataArrays, dataTypes, headers, hostnameVerifier, maxRetryCount, method, multipart, params, pauseBetweenRetries, proxy, redirects, sslFactory |
|
Constructor Summary |
Request(java.lang.String url)
|
| Methods inherited from class com.wizzardo.tools.http.RequestArguments |
addByteArray, addByteArray, addFile, addFile, addFile, addHeader, addHeaders, addParameter, addParameter, addParameterList, addParameterLists, addParameters, cookies, cookies, data, data, data, disableRedirects, getData, getProxy, header, header, headers, json, maxRetryCount, method, method, param, param, param, params, params, params, pauseBetweenRetries, referer, removeHeader, removeParameter, setBasicAuthentication, setContentType, setContentType, setCookies, setCookies, setData, setHostnameVerifier, setJson, setMaxRetryCount, setMethod, setPauseBetweenRetries, setProxy, setReferer, setSSLSocketFactory, setUrlEncoding, setXml, xml |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
protected java.lang.String url
session
protected HttpSession session
Request
public Request(java.lang.String url)
createRequest
public Request createRequest(java.lang.String url)
- Overrides:
createRequest in class RequestArguments<Request>
getUrl
public java.lang.String getUrl()
execute
public Response execute()
throws java.io.IOException
- Throws:
java.io.IOException
get
public Response get()
throws java.io.IOException
- Throws:
java.io.IOException
post
public Response post()
throws java.io.IOException
- Throws:
java.io.IOException
put
public Response put()
throws java.io.IOException
- Throws:
java.io.IOException
head
public Response head()
throws java.io.IOException
- Throws:
java.io.IOException
delete
public Response delete()
throws java.io.IOException
- Throws:
java.io.IOException
options
public Response options()
throws java.io.IOException
- Throws:
java.io.IOException
trace
public Response trace()
throws java.io.IOException
- Throws:
java.io.IOException
setSession
protected Request setSession(HttpSession session)
self
protected Request self()
- Overrides:
self in class RequestArguments<Request>
execute
protected Response execute(int retryNumber)
throws java.io.IOException
- Throws:
java.io.IOException