Package com.meterware.httpunit
Class GetMethodWebRequest
java.lang.Object
com.meterware.httpunit.WebRequest
com.meterware.httpunit.HeaderOnlyWebRequest
com.meterware.httpunit.GetMethodWebRequest
An HTTP request using the GET method.
-
Field Summary
Fields inherited from class com.meterware.httpunit.WebRequest
method
-
Constructor Summary
ConstructorsConstructorDescriptionGetMethodWebRequest
(String urlString) Constructs a web request using a specific absolute url string.GetMethodWebRequest
(URL urlBase, String urlString) Constructs a web request using a base URL and a relative url string.GetMethodWebRequest
(URL urlBase, String urlString, String target) Constructs a web request with a specific target. -
Method Summary
Methods inherited from class com.meterware.httpunit.HeaderOnlyWebRequest
getQueryString, setMethod
Methods inherited from class com.meterware.httpunit.WebRequest
completeRequest, getCharacterSet, getContentType, getHeaders, getParameter, getParameterHolder, getParameterValues, getRequestParameterNames, getTarget, getURL, getURLBase, getURLString, isFileParameter, isMimeEncoded, maySelectFile, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setParameter, setParameter, setParameter, toString, writeMessageBody
-
Constructor Details
-
GetMethodWebRequest
Constructs a web request using a specific absolute url string. -
GetMethodWebRequest
Constructs a web request using a base URL and a relative url string. -
GetMethodWebRequest
Constructs a web request with a specific target.
-
-
Method Details
-
getMethod
Returns the HTTP method defined for this request.- Overrides:
getMethod
in classWebRequest
- Returns:
- the method
-