Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.meterware.httpunit
Class GetMethodWebRequest  view GetMethodWebRequest download GetMethodWebRequest.java

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
NEW_WINDOW, PARENT_FRAME, REFERER_HEADER_NAME, SAME_FRAME, TOP_FRAME
 
Constructor Summary
(package private) GetMethodWebRequest(FixedURLWebRequestSource source)
          Constructs a web request for a link or image.
  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.
(package private) GetMethodWebRequest(java.net.URL urlBase, java.lang.String urlString, FrameSelector frame)
          Constructs an initial web request for a frame.
(package private) GetMethodWebRequest(java.net.URL urlBase, java.lang.String urlString, FrameSelector frame, java.lang.String target)
          Constructs a web request for a javascript open call.
  GetMethodWebRequest(java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
          Constructs a web request with a specific target.
(package private) GetMethodWebRequest(WebForm sourceForm)
          Constructs a web request for a form submitted from JavaScript.
(package private) GetMethodWebRequest(WebForm sourceForm, ParameterHolder parameterHolder, SubmitButton button, int x, int y)
          Constructs a web request for a form.
 
Method Summary
 java.lang.String getMethod()
          Returns the HTTP method defined for this request.
 
Methods inherited from class com.meterware.httpunit.HeaderOnlyWebRequest
getQueryString
 
Methods inherited from class com.meterware.httpunit.WebRequest
completeRequest, getCharacterSet, getContentType, getHeaderDictionary, getHeaders, getParameter, getParameterHolder, getParameterValues, getReferer, getRequestParameterNames, getSourceFrame, getTarget, getURL, getURLBase, getURLString, getWebRequestSource, isFileParameter, isMimeEncoded, maySelectFile, newParameterHolder, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setMimeEncoded, 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.


GetMethodWebRequest

GetMethodWebRequest(WebForm sourceForm)
Constructs a web request for a form submitted from JavaScript.


GetMethodWebRequest

GetMethodWebRequest(FixedURLWebRequestSource source)
Constructs a web request for a link or image.


GetMethodWebRequest

GetMethodWebRequest(java.net.URL urlBase,
                    java.lang.String urlString,
                    FrameSelector frame)
Constructs an initial web request for a frame.


GetMethodWebRequest

GetMethodWebRequest(java.net.URL urlBase,
                    java.lang.String urlString,
                    FrameSelector frame,
                    java.lang.String target)
Constructs a web request for a javascript open call.


GetMethodWebRequest

GetMethodWebRequest(WebForm sourceForm,
                    ParameterHolder parameterHolder,
                    SubmitButton button,
                    int x,
                    int y)
Constructs a web request for a form.

Method Detail

getMethod

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

Specified by:
getMethod in class WebRequest