"Fossies" - the Fresh Open Source Software Archive

Member "httpunit-1.7/doc/api/com/meterware/httpunit/HeadMethodWebRequest.html" (20 May 2008, 15779 Bytes) of package /linux/www/httpunit-1.7.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


com.meterware.httpunit
Class HeadMethodWebRequest

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

public class HeadMethodWebRequest
extends HeaderOnlyWebRequest

A web request using the HEAD method. This request is used to obtain header information for a resource without necessarily waiting for the data to be computed or transmitted.

Author:
Russell Gold

Field Summary
 
Fields inherited from class com.meterware.httpunit.WebRequest
method
 
Constructor Summary
HeadMethodWebRequest(java.lang.String urlString)
          Creates a new head request from a complete URL string.
HeadMethodWebRequest(java.net.URL urlBase, java.lang.String urlString)
          Creates a new head request using a relative URL and base.
 
Methods inherited from class com.meterware.httpunit.HeaderOnlyWebRequest
getQueryString, setMethod
 
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

HeadMethodWebRequest

public HeadMethodWebRequest(java.lang.String urlString)
Creates a new head request from a complete URL string.

Parameters:
urlString - the URL desired, including the protocol.

HeadMethodWebRequest

public HeadMethodWebRequest(java.net.URL urlBase,
                            java.lang.String urlString)
Creates a new head request using a relative URL and base.

Parameters:
urlBase - the base URL.
urlString - the relative URL

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