## Uses of Class
com.gargoylesoftware.htmlunit.WebRequestSettings

Packages that use WebRequestSettings
com.gargoylesoftware.htmlunit: Framework classes (contains the WebClient class which is the main entry point).
com.gargoylesoftware.htmlunit.html: Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content.
com.gargoylesoftware.htmlunit.util: Misc utilities

Uses of WebRequestSettings in com.gargoylesoftware.htmlunit

Methods in com.gargoylesoftware.htmlunit that return WebRequestSettings
`WebRequestSettings` `MockWebConnection.getLastWebRequestSettings()` Returns the `WebRequestSettings` that was used in the in the last call to `MockWebConnection.getResponse(WebRequestSettings)`.
`WebRequestSettings` `WebResponseImpl.getRequestSettings()` Returns the request settings used to load this response.
`WebRequestSettings` `WebResponse.getRequestSettings()` Returns the request settings used to load this response.

Methods in com.gargoylesoftware.htmlunit with parameters of type WebRequestSettings
`void` `Cache.cacheIfPossible(WebRequestSettings request, WebResponse response, java.lang.Object toCache)` Caches the specified object, if the corresponding request and response objects indicate that it is cacheable.
`java.lang.Object` `Cache.getCachedObject(WebRequestSettings request)` Returns the cached object corresponding to the specified request.

`

`<P extends Page> P`

`

`WebClient.getPage(WebRequestSettings request)`
Convenient method to load a web request into the current top WebWindow.

`

`<P extends Page> P`

`

`WebClient.getPage(WebWindow opener, java.lang.String target, WebRequestSettings params)`
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.

`

`<P extends Page> P`

`

`WebClient.getPage(WebWindow webWindow, WebRequestSettings parameters)`
Send a request to a server and return a Page that represents the response from the server.

`WebResponse` `HttpWebConnection.getResponse(WebRequestSettings settings)` Submits a request and retrieves a response.
`WebResponse` `MockWebConnection.getResponse(WebRequestSettings settings)` Submits a request and retrieves a response.
`WebResponse` `WebConnection.getResponse(WebRequestSettings settings)` Submits a request and retrieves a response.
`protected boolean` `Cache.isCacheable(WebRequestSettings request, WebResponse response)` Determines if the specified response can be cached.
`WebResponse` `WebClient.loadWebResponse(WebRequestSettings webRequestSettings)` Loads a `WebResponse` from the server.
`protected WebResponse` `HttpWebConnection.newWebResponseInstance(java.lang.String charset, WebResponseData responseData, long loadTime, WebRequestSettings requestSettings)` Deprecated. As of 2.6, please use `HttpWebConnection.newWebResponseInstance(WebResponseData, long, WebRequestSettings)`
`protected WebResponse` `HttpWebConnection.newWebResponseInstance(WebResponseData responseData, long loadTime, WebRequestSettings requestSettings)` Constructs an appropriate WebResponse.
`boolean` `NicelyResynchronizingAjaxController.processSynchron(HtmlPage page, WebRequestSettings settings, boolean async)` Resynchronizes calls performed from the thread where this instance has been created.
`boolean` `AjaxController.processSynchron(HtmlPage page, WebRequestSettings settings, boolean async)` Gets notified of an AJAX call to determine how it should be processed.

Constructors in com.gargoylesoftware.htmlunit with parameters of type WebRequestSettings
`WebRequestSettings(WebRequestSettings originalRequest, java.net.URL url)` Instantiates a `WebRequestSettings` for the specified URL using the proxy configuration from the specified original request.
`WebResponseImpl(WebResponseData responseData, java.lang.String charset, WebRequestSettings requestSettings, long loadTime)` Deprecated. As of 2.6, please use @link `WebResponseImpl.WebResponseImpl(WebResponseData, WebRequestSettings, long)`
`WebResponseImpl(WebResponseData responseData, WebRequestSettings requestSettings, long loadTime)` Constructs with all data.

Uses of WebRequestSettings in com.gargoylesoftware.htmlunit.html

Methods in com.gargoylesoftware.htmlunit.html that return WebRequestSettings
`WebRequestSettings` `HtmlLink.getWebRequestSettings()` Returns the request settings which will allow us to retrieve the content referenced by the "href" attribute.

Uses of WebRequestSettings in com.gargoylesoftware.htmlunit.util

Methods in com.gargoylesoftware.htmlunit.util that return WebRequestSettings
`WebRequestSettings` `WebResponseWrapper.getRequestSettings()` Returns the request settings used to load this response.

Methods in com.gargoylesoftware.htmlunit.util with parameters of type WebRequestSettings
`protected WebResponse` `FalsifyingWebConnection.createWebResponse(WebRequestSettings wr, java.lang.String content, java.lang.String contentType)` Creates a faked WebResponse for the request with the provided content.
`protected WebResponse` `FalsifyingWebConnection.createWebResponse(WebRequestSettings wr, java.lang.String content, java.lang.String contentType, int responseCode, java.lang.String responseMessage)` Creates a faked WebResponse for the request with the provided content.
`protected WebResponse` `FalsifyingWebConnection.deliverFromAlternateUrl(WebRequestSettings webRequestSettings, java.net.URL url)` Delivers the content for an alternate URL as if it comes from the requested URL.
`WebResponse` `WebConnectionWrapper.getResponse(WebRequestSettings settings)` Submits a request and retrieves a response.
`WebResponse` `DebuggingWebConnection.getResponse(WebRequestSettings settings)` Calls the wrapped webconnection and save the received response.
`protected void` `DebuggingWebConnection.saveResponse(WebResponse response, WebRequestSettings settings)` Saves the response content in the temp dir and adds it to the summary page.

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