Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.util |
Misc utilities
|
Modifier and Type | Method and Description |
---|---|
WebRequestSettings |
MockWebConnection.getLastWebRequestSettings()
Return the
WebRequestSettings that was used in the in the last call
to MockWebConnection.getResponse(WebRequestSettings) . |
Modifier and Type | Method and Description |
---|---|
void |
Cache.cacheIfNeeded(WebRequestSettings request,
WebResponse response)
Cache the response if needed.
|
WebResponse |
Cache.getCachedContent(WebRequestSettings request)
Returns the cached content corresponding to the specified request.
|
Page |
WebClient.getPage(WebRequestSettings request)
Convenient method to load a web request into the current WebWindow
|
Page |
WebClient.getPage(WebWindow opener,
String target,
WebRequestSettings params)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Page |
WebClient.getPage(WebWindow webWindow,
WebRequestSettings parameters)
Send a request to a server and return a Page that represents the
response from the server.
|
WebResponse |
WebConnection.getResponse(WebRequestSettings webRequestSettings)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submits a request and retrieves a response. |
WebResponse |
MockWebConnection.getResponse(WebRequestSettings webRequestSettings)
Submit a request and retrieve a response
|
abstract WebResponse |
WebConnectionImpl.getResponse(WebRequestSettings webRequestSettings)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submits a request and retrieves a response. |
WebResponse |
HttpWebConnection.getResponse(WebRequestSettings webRequestSettings)
Submit a request and retrieve a response
|
protected boolean |
Cache.isCacheable(WebRequestSettings request,
WebResponse response)
Determines if the response should be cached.
|
WebResponse |
WebClient.loadWebResponse(WebRequestSettings webRequestSettings)
Loads a
WebResponse from the server |
boolean |
AjaxController.processSynchron(HtmlPage page,
WebRequestSettings requestSettings,
boolean async)
Gets notified of an AJAX call to determine how it should be processed
|
boolean |
NicelyResynchronizingAjaxController.processSynchron(HtmlPage page,
WebRequestSettings requestSettings,
boolean async)
Resynchronizes calls performed from the thread where this instance has
been created.
|
Constructor and Description |
---|
WebRequestSettings(WebRequestSettings originalRequest,
URL target)
Instantiate a
WebRequestSettings for the given url using the proxy configuration from the original
request |
Modifier and Type | Method and Description |
---|---|
protected WebResponse |
FalsifyingWebConnection.deliverFromAlternateUrl(WebRequestSettings webRequestSettings,
URL url)
Delivers the content for an alternate url as if it would come from the requested one
|
WebResponse |
WebConnectionWrapper.getResponse(WebRequestSettings webRequestSettings)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submits a request and retrieves a response. |
WebResponse |
DebuggingWebConnection.getResponse(WebRequestSettings webRequestSettings)
Calls the wrapped webconnection and save the received response.
|
protected void |
DebuggingWebConnection.saveResponse(WebResponse response,
WebRequestSettings settings)
Save the response content in the temp dir and add it to the summary page
|
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.