com.meterware.httpunit
Class HeaderOnlyWebRequest

java.lang.Object
  extended bycom.meterware.httpunit.WebRequest
      extended bycom.meterware.httpunit.HeaderOnlyWebRequest
Direct Known Subclasses:
GetMethodWebRequest, HeadMethodWebRequest

public class HeaderOnlyWebRequest
extends WebRequest

A web request which has no information in its message body.

Author:
Russell Gold

Field Summary
 
Fields inherited from class com.meterware.httpunit.WebRequest
method
 
Constructor Summary
protected HeaderOnlyWebRequest(java.lang.String urlString)
           
protected HeaderOnlyWebRequest(java.net.URL urlBase, java.lang.String urlString)
           
protected HeaderOnlyWebRequest(java.net.URL urlBase, java.lang.String urlString, FrameSelector frame, java.lang.String target)
           
protected HeaderOnlyWebRequest(java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
           
protected HeaderOnlyWebRequest(WebResponse referer, org.w3c.dom.Element sourceElement, java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
           
 
Method Summary
 java.lang.String getQueryString()
          Returns the query string defined for this request.
 void setMethod(java.lang.String method)
           
 
Methods inherited from class com.meterware.httpunit.WebRequest
completeRequest, getCharacterSet, getContentType, getHeaders, getMethod, 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

HeaderOnlyWebRequest

protected HeaderOnlyWebRequest(java.net.URL urlBase,
                               java.lang.String urlString,
                               FrameSelector frame,
                               java.lang.String target)

HeaderOnlyWebRequest

protected HeaderOnlyWebRequest(java.net.URL urlBase,
                               java.lang.String urlString,
                               java.lang.String target)

HeaderOnlyWebRequest

protected HeaderOnlyWebRequest(WebResponse referer,
                               org.w3c.dom.Element sourceElement,
                               java.net.URL urlBase,
                               java.lang.String urlString,
                               java.lang.String target)

HeaderOnlyWebRequest

protected HeaderOnlyWebRequest(java.net.URL urlBase,
                               java.lang.String urlString)

HeaderOnlyWebRequest

protected HeaderOnlyWebRequest(java.lang.String urlString)
Method Detail

getQueryString

public java.lang.String getQueryString()
Returns the query string defined for this request.

Overrides:
getQueryString in class WebRequest

setMethod

public void setMethod(java.lang.String method)
Parameters:
method - the method to set

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