com.meterware.httpunit
Class GetMethodWebRequest

java.lang.Object
  extended bycom.meterware.httpunit.WebRequest
      extended bycom.meterware.httpunit.HeaderOnlyWebRequest
          extended bycom.meterware.httpunit.GetMethodWebRequest

public class GetMethodWebRequest
extends HeaderOnlyWebRequest

An HTTP request using the GET method.


Field Summary
 
Fields inherited from class com.meterware.httpunit.WebRequest
method
 
Constructor Summary
GetMethodWebRequest(java.lang.String urlString)
          Constructs a web request using a specific absolute url string.
GetMethodWebRequest(java.net.URL urlBase, java.lang.String urlString)
          Constructs a web request using a base URL and a relative url string.
GetMethodWebRequest(java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
          Constructs a web request with a specific target.
 
Method Summary
 java.lang.String getMethod()
          Returns the HTTP method defined for this request.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetMethodWebRequest

public GetMethodWebRequest(java.lang.String urlString)
Constructs a web request using a specific absolute url string.


GetMethodWebRequest

public GetMethodWebRequest(java.net.URL urlBase,
                           java.lang.String urlString)
Constructs a web request using a base URL and a relative url string.


GetMethodWebRequest

public GetMethodWebRequest(java.net.URL urlBase,
                           java.lang.String urlString,
                           java.lang.String target)
Constructs a web request with a specific target.

Method Detail

getMethod

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

Overrides:
getMethod in class WebRequest
Returns:
the method

Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.