|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WebRequest | |
---|---|
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 WebRequest in com.gargoylesoftware.htmlunit |
---|
Subclasses of WebRequest in com.gargoylesoftware.htmlunit | |
---|---|
class |
WebRequestSettings
Deprecated. as of 2.8, please use WebRequest instead. |
Methods in com.gargoylesoftware.htmlunit that return WebRequest | |
---|---|
WebRequest |
MockWebConnection.getLastWebRequest()
Returns the WebRequest that was used in the in the last call
to MockWebConnection.getResponse(WebRequest) . |
WebRequest |
MockWebConnection.getLastWebRequestSettings()
Deprecated. as of 2.8, please use MockWebConnection.getLastWebRequest() instead |
WebRequest |
WebResponse.getRequestSettings()
Deprecated. as of 2.8, please use WebResponse.getWebRequest() instead |
WebRequest |
WebResponse.getWebRequest()
Returns the request used to load this response. |
Methods in com.gargoylesoftware.htmlunit with parameters of type WebRequest | ||
---|---|---|
void |
Cache.cacheIfPossible(WebRequest request,
WebResponse response,
Object toCache)
Caches the specified object, if the corresponding request and response objects indicate that it is cacheable. |
|
void |
WebClient.download(WebWindow requestingWindow,
String target,
WebRequest request,
String description)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Perform the downloads and stores it for loading later into a window. |
|
Object |
Cache.getCachedObject(WebRequest request)
Returns the cached object corresponding to the specified request. |
|
|
WebClient.getPage(WebRequest request)
Convenient method to load a web request into the current top WebWindow. |
|
|
WebClient.getPage(WebWindow opener,
String target,
WebRequest params)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. |
|
|
WebClient.getPage(WebWindow webWindow,
WebRequest parameters)
Send a request to a server and return a Page that represents the response from the server. |
|
WebResponse |
HttpWebConnection.getResponse(WebRequest request)
Submits a request and retrieves a response. |
|
WebResponse |
MockWebConnection.getResponse(WebRequest request)
Submits a request and retrieves a response. |
|
WebResponse |
UrlFetchWebConnection.getResponse(WebRequest webRequest)
Submits a request and retrieves a response. |
|
WebResponse |
WebConnection.getResponse(WebRequest request)
Submits a request and retrieves a response. |
|
protected boolean |
Cache.isCacheable(WebRequest request,
WebResponse response)
Determines if the specified response can be cached. |
|
WebResponse |
WebClient.loadWebResponse(WebRequest webRequest)
Loads a WebResponse from the server. |
|
protected WebResponse |
HttpWebConnection.newWebResponseInstance(WebResponseData responseData,
long loadTime,
WebRequest request)
Constructs an appropriate WebResponse. |
|
boolean |
NicelyResynchronizingAjaxController.processSynchron(HtmlPage page,
WebRequest settings,
boolean async)
Resynchronizes calls performed from the thread where this instance has been created. |
|
boolean |
AjaxController.processSynchron(HtmlPage page,
WebRequest request,
boolean async)
Gets notified of an AJAX call to determine how it should be processed. |
Constructors in com.gargoylesoftware.htmlunit with parameters of type WebRequest | |
---|---|
WebRequest(WebRequest originalRequest,
URL url)
Instantiates a WebRequest for the specified URL using the proxy configuration from the
specified original request. |
|
WebResponse(WebResponseData responseData,
WebRequest request,
long loadTime)
Constructs with all data. |
|
WebResponseImpl(WebResponseData responseData,
WebRequest request,
long loadTime)
Deprecated. Constructs with all data. |
Uses of WebRequest in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html that return WebRequest | |
---|---|
WebRequest |
HtmlLink.getWebRequest()
Returns the request which will allow us to retrieve the content referenced by the "href" attribute. |
WebRequest |
HtmlForm.getWebRequest(SubmittableElement submitElement)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Gets the request for a submission of this form with the specified SubmittableElement. |
WebRequest |
HtmlLink.getWebRequestSettings()
Deprecated. as of 2.8, please use HtmlLink.getWebRequest() instead |
WebRequest |
HtmlForm.getWebRequestSettings(SubmittableElement submitElement)
Deprecated. as of 2.8, please use HtmlForm.getWebRequest(SubmittableElement) instead |
Uses of WebRequest in com.gargoylesoftware.htmlunit.util |
---|
Methods in com.gargoylesoftware.htmlunit.util that return WebRequest | |
---|---|
WebRequest |
WebResponseWrapper.getRequestSettings()
Deprecated. as of 2.8, please use WebResponseWrapper.getWebRequest() instead |
WebRequest |
WebResponseWrapper.getWebRequest()
Returns the request used to load this response. |
Methods in com.gargoylesoftware.htmlunit.util with parameters of type WebRequest | |
---|---|
protected WebResponse |
FalsifyingWebConnection.createWebResponse(WebRequest wr,
String content,
String contentType)
Creates a faked WebResponse for the request with the provided content. |
protected WebResponse |
FalsifyingWebConnection.createWebResponse(WebRequest wr,
String content,
String contentType,
int responseCode,
String responseMessage)
Creates a faked WebResponse for the request with the provided content. |
protected WebResponse |
FalsifyingWebConnection.deliverFromAlternateUrl(WebRequest webRequest,
URL url)
Delivers the content for an alternate URL as if it comes from the requested URL. |
WebResponse |
DebuggingWebConnection.getResponse(WebRequest request)
Calls the wrapped webconnection and save the received response. |
WebResponse |
WebConnectionWrapper.getResponse(WebRequest request)
Submits a request and retrieves a response. |
protected void |
DebuggingWebConnection.saveResponse(WebResponse response,
WebRequest request)
Saves the response content in the temp dir and adds it to the summary page. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |