com.gargoylesoftware.htmlunit
Class WebRequestSettings

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.WebRequest
      extended by com.gargoylesoftware.htmlunit.WebRequestSettings
All Implemented Interfaces:
Serializable

Deprecated. as of 2.8, please use WebRequest instead.

@Deprecated
public class WebRequestSettings
extends WebRequest

Parameter object for making web requests.

Version:
$Revision: 5657 $
Author:
Brad Clarke, Hans Donner, Ahmed Ashour, Marc Guillemot, Rodney Gitzel
See Also:
Serialized Form

Constructor Summary
WebRequestSettings(URL url)
          Deprecated. Instantiates a WebRequestSettings for the specified URL.
WebRequestSettings(URL url, HttpMethod submitMethod)
          Deprecated. Instantiates a WebRequestSettings for the specified URL using the specified HTTP submit method.
WebRequestSettings(WebRequestSettings originalRequest, URL url)
          Deprecated. Instantiates a WebRequestSettings for the specified URL using the proxy configuration from the specified original request.
 
Method Summary
 
Methods inherited from class com.gargoylesoftware.htmlunit.WebRequest
getAdditionalHeaders, getCharset, getCredentialsProvider, getEncodingType, getHttpMethod, getProxyHost, getProxyPort, getRequestBody, getRequestParameters, getUrl, isAdditionalHeader, isSocksProxy, removeAdditionalHeader, setAdditionalHeader, setAdditionalHeaders, setCharset, setCredentialsProvider, setEncodingType, setHttpMethod, setProxyHost, setProxyPort, setRequestBody, setRequestParameters, setSocksProxy, setUrl, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebRequestSettings

public WebRequestSettings(URL url)
Deprecated. 
Instantiates a WebRequestSettings for the specified URL.

Parameters:
url - the target URL

WebRequestSettings

public WebRequestSettings(WebRequestSettings originalRequest,
                          URL url)
Deprecated. 
Instantiates a WebRequestSettings for the specified URL using the proxy configuration from the specified original request.

Parameters:
originalRequest - the original request
url - the target URL

WebRequestSettings

public WebRequestSettings(URL url,
                          HttpMethod submitMethod)
Deprecated. 
Instantiates a WebRequestSettings for the specified URL using the specified HTTP submit method.

Parameters:
url - the target URL
submitMethod - the HTTP submit method to use


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.