com.meterware.httpunit

Class GetMethodWebRequest

public class GetMethodWebRequest extends HeaderOnlyWebRequest

An HTTP request using the GET method.
Constructor Summary
GetMethodWebRequest(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
StringgetMethod()
Returns the HTTP method defined for this request.

Constructor Detail

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.

Method Detail

getMethod

public String getMethod()
Returns the HTTP method defined for this request.