WebRequest
instead.@Deprecated public class WebRequestSettings extends WebRequest
Constructor and Description |
---|
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. |
getAdditionalHeaders, getCharset, getCredentials, getEncodingType, getHttpMethod, getProxyHost, getProxyPort, getRequestBody, getRequestParameters, getUrl, getUrlCredentials, isAdditionalHeader, isSocksProxy, removeAdditionalHeader, setAdditionalHeader, setAdditionalHeaders, setCharset, setCredentials, setEncodingType, setHttpMethod, setProxyHost, setProxyPort, setRequestBody, setRequestParameters, setSocksProxy, setUrl, toString
public WebRequestSettings(URL url)
WebRequestSettings
for the specified URL.url
- the target URLpublic WebRequestSettings(WebRequestSettings originalRequest, URL url)
WebRequestSettings
for the specified URL using the proxy configuration from the
specified original request.originalRequest
- the original requesturl
- the target URLpublic WebRequestSettings(URL url, HttpMethod submitMethod)
WebRequestSettings
for the specified URL using the specified HTTP submit method.url
- the target URLsubmitMethod
- the HTTP submit method to useCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.