|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WebResponse | |
---|---|
com.gargoylesoftware.htmlunit | Framework classes |
com.gargoylesoftware.htmlunit.html | Classes specific to html pages |
com.gargoylesoftware.htmlunit.util | Misc utilities |
com.gargoylesoftware.htmlunit.xml | Classes specific to xml pages |
Uses of WebResponse in com.gargoylesoftware.htmlunit |
---|
Classes in com.gargoylesoftware.htmlunit that implement WebResponse | |
---|---|
class |
StringWebResponse
A simple WebResponse created from a string. |
class |
WebResponseImpl
Simple base class for WebResponse . |
Methods in com.gargoylesoftware.htmlunit that return WebResponse | |
---|---|
WebResponse |
Cache.getCachedContent(WebRequestSettings request)
Returns the cached content corresponding to the specified request. |
WebResponse |
FailingHttpStatusCodeException.getResponse()
Gets the failing response. |
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. |
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 |
WebResponse |
MockWebConnection.getResponse(WebRequestSettings webRequestSettings)
Submit a request and retrieve a response |
WebResponse |
SgmlPage.getWebResponse()
Return the web response that was originally used to create this page. |
WebResponse |
Page.getWebResponse()
Return the web response that was originally used to create this page. |
WebResponse |
JavaScriptPage.getWebResponse()
Return the web response that was originally used to create this page. |
WebResponse |
UnexpectedPage.getWebResponse()
Return the web response that was originally used to create this page. |
WebResponse |
TextPage.getWebResponse()
Return the web response that was originally used to create this page. |
WebResponse |
WebClient.loadWebResponse(WebRequestSettings webRequestSettings)
Loads a WebResponse from the server |
protected WebResponse |
HttpWebConnection.newWebResponseInstance(String charset,
WebResponseData responseData,
long loadTime,
SubmitMethod requestMethod,
URL originatingURL)
Construct an appropriate WebResponse. |
Methods in com.gargoylesoftware.htmlunit with parameters of type WebResponse | |
---|---|
void |
Cache.cacheIfNeeded(WebRequestSettings request,
WebResponse response)
Cache the response if needed. |
protected HtmlPage |
DefaultPageCreator.createHtmlPage(WebResponse webResponse,
WebWindow webWindow)
Create a HtmlPage for this WebResponse |
protected JavaScriptPage |
DefaultPageCreator.createJavaScriptPage(WebResponse webResponse,
WebWindow webWindow)
Create a JavaScriptPage for this WebResponse |
Page |
PageCreator.createPage(WebResponse webResponse,
WebWindow webWindow)
Create a Page object for the specified web response. |
Page |
DefaultPageCreator.createPage(WebResponse webResponse,
WebWindow webWindow)
Create a Page object for the specified web response. |
protected TextPage |
DefaultPageCreator.createTextPage(WebResponse webResponse,
WebWindow webWindow)
Create a TextPage for this WebResponse |
protected UnexpectedPage |
DefaultPageCreator.createUnexpectedPage(WebResponse webResponse,
WebWindow webWindow)
Create an UnexpectedPage for this WebResponse |
protected XmlPage |
DefaultPageCreator.createXmlPage(WebResponse webResponse,
WebWindow webWindow)
Create an XmlPage for this WebResponse |
protected boolean |
Cache.isCacheable(WebRequestSettings request,
WebResponse response)
Determines if the response should be cached. |
protected boolean |
Cache.isDynamicContent(WebResponse response)
Tries to guess if the content is dynamic or not. |
protected boolean |
Cache.isJavaScript(WebResponse webResponse)
Indicates if the provided response is JavaScript content. |
Page |
WebClient.loadWebResponseInto(WebResponse webResponse,
WebWindow webWindow)
Use the specified WebResponse to create a Page object which will then get inserted into the WebWindow. |
protected Date |
Cache.parseDateHeader(WebResponse response,
String headerName)
Parses and returns the specified date header of the specified response. |
void |
WebClient.printContentIfNecessary(WebResponse webResponse)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. |
void |
WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebResponse webResponse)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. |
Constructors in com.gargoylesoftware.htmlunit with parameters of type WebResponse | |
---|---|
FailingHttpStatusCodeException(WebResponse failingResponse)
Creates an instance. |
|
JavaScriptPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance |
|
SgmlPage(WebResponse webResponse,
WebWindow webWindow)
Create an instance of SgmlPage |
|
TextPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance |
|
UnexpectedPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance |
Uses of WebResponse in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html with parameters of type WebResponse | |
---|---|
static HtmlPage |
HTMLParser.parse(WebResponse webResponse,
WebWindow webWindow)
parse the HTML content from the given WebResponse into an object tree representation |
Constructors in com.gargoylesoftware.htmlunit.html with parameters of type WebResponse | |
---|---|
HtmlPage(URL originatingUrl,
WebResponse webResponse,
WebWindow webWindow)
Create an instance of HtmlPage |
Uses of WebResponse in com.gargoylesoftware.htmlunit.util |
---|
Classes in com.gargoylesoftware.htmlunit.util that implement WebResponse | |
---|---|
class |
WebResponseWrapper
Provides a convenient implementation of the WebResponse interface that can be subclassed
by developers wishing to adapt a particular WebResponse. |
Methods in com.gargoylesoftware.htmlunit.util that return WebResponse | |
---|---|
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 |
DebuggingWebConnection.getResponse(WebRequestSettings webRequestSettings)
Calls the wrapped webconnection and save the received response. |
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. The default behavior of this method is to return getResponse() on the wrapped connection object. |
protected WebResponse |
FalsifyingWebConnection.replaceContent(WebResponse webResponse,
String newContent)
Builds a WebResponse with a new content preserving the other informations |
Methods in com.gargoylesoftware.htmlunit.util with parameters of type WebResponse | |
---|---|
protected WebResponse |
FalsifyingWebConnection.replaceContent(WebResponse webResponse,
String newContent)
Builds a WebResponse with a new content preserving the other informations |
protected void |
DebuggingWebConnection.saveResponse(WebResponse response,
WebRequestSettings settings)
Save the response content in the temp dir and add it to the summary page |
Constructors in com.gargoylesoftware.htmlunit.util with parameters of type WebResponse | |
---|---|
WebResponseWrapper(WebResponse webResponse)
Constructs a WebResponse object wrapping provided WebResponse. |
Uses of WebResponse in com.gargoylesoftware.htmlunit.xml |
---|
Methods in com.gargoylesoftware.htmlunit.xml with parameters of type WebResponse | |
---|---|
static Document |
XmlUtil.buildDocument(WebResponse webResponse)
Builds a document from the content of the webresponse. |
Constructors in com.gargoylesoftware.htmlunit.xml with parameters of type WebResponse | |
---|---|
XmlPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance. |
|
XmlPage(WebResponse webResponse,
WebWindow enclosingWindow,
boolean ignoreSAXException)
Create an instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |