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