Uses of Interface
com.gargoylesoftware.htmlunit.WebResponse

Packages that use WebResponse
com.gargoylesoftware.htmlunit Framework classes (contains the WebClient class which is the main entry point). 
com.gargoylesoftware.htmlunit.attachment Attachment-related classes. 
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 
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 FailingHttpStatusCodeException.getResponse()
          Gets the failing response.
 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.
 WebResponse TextPage.getWebResponse()
          Returns the web response that was originally used to create this page.
 WebResponse UnexpectedPage.getWebResponse()
          Returns the web response that was originally used to create this page.
 WebResponse JavaScriptPage.getWebResponse()
          Returns the web response that was originally used to create this page.
 WebResponse Page.getWebResponse()
          Returns the web response that was originally used to create this page.
 WebResponse SgmlPage.getWebResponse()
          Returns 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(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.
 

Methods in com.gargoylesoftware.htmlunit with parameters of type WebResponse
 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.
protected  HtmlPage DefaultPageCreator.createHtmlPage(WebResponse webResponse, WebWindow webWindow)
          Creates an HtmlPage for this WebResponse.
protected  JavaScriptPage DefaultPageCreator.createJavaScriptPage(WebResponse webResponse, WebWindow webWindow)
          Creates a JavaScriptPage for this WebResponse.
 Page DefaultPageCreator.createPage(WebResponse webResponse, WebWindow webWindow)
          Create a Page object for the specified web response.
 Page PageCreator.createPage(WebResponse webResponse, WebWindow webWindow)
          Create a Page object for the specified web response.
protected  TextPage DefaultPageCreator.createTextPage(WebResponse webResponse, WebWindow webWindow)
          Creates a TextPage for this WebResponse.
protected  UnexpectedPage DefaultPageCreator.createUnexpectedPage(WebResponse webResponse, WebWindow webWindow)
          Creates an UnexpectedPage for this WebResponse.
protected  XHtmlPage DefaultPageCreator.createXHtmlPage(WebResponse webResponse, WebWindow webWindow)
          Creates an XHtmlPage for this WebResponse.
protected  XmlPage DefaultPageCreator.createXmlPage(WebResponse webResponse, WebWindow webWindow)
          Creates an XmlPage for this WebResponse.
protected  boolean Cache.isCacheable(WebRequestSettings request, WebResponse response)
          Determines if the specified response can be cached.
protected  boolean Cache.isDynamicContent(WebResponse response)
          Tries to guess if the content is dynamic or not.
protected  boolean Cache.isJavaScript(WebResponse webResponse)
          Returns true if the provided response is JavaScript content.
 Page WebClient.loadWebResponseInto(WebResponse webResponse, WebWindow webWindow)
          Creates a page based on the specified response and inserts it into the specified window.
protected  java.util.Date Cache.parseDateHeader(WebResponse response, java.lang.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)
          Creates an instance.
SgmlPage(WebResponse webResponse, WebWindow webWindow)
          Creates an instance of SgmlPage.
TextPage(WebResponse webResponse, WebWindow enclosingWindow)
          Creates an instance.
UnexpectedPage(WebResponse webResponse, WebWindow enclosingWindow)
          Creates an instance.
 

Uses of WebResponse in com.gargoylesoftware.htmlunit.attachment
 

Methods in com.gargoylesoftware.htmlunit.attachment with parameters of type WebResponse
static boolean Attachment.isAttachment(WebResponse response)
          Returns true if the specified response represents an attachment.
 

Uses of WebResponse in com.gargoylesoftware.htmlunit.html
 

Methods in com.gargoylesoftware.htmlunit.html that return WebResponse
 WebResponse HtmlImage.getWebResponse(boolean downloadIfNeeded)
          POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.
If the image is not already downloaded it triggers a download.
 WebResponse HtmlLink.getWebResponse(boolean downloadIfNeeded)
          POTENIAL PERFORMANCE KILLER - DOWNLOADS THE RESOURCE - USE AT YOUR OWN RISK.
If the linked content is not already downloaded it triggers a download.
 

Methods in com.gargoylesoftware.htmlunit.html with parameters of type WebResponse
static HtmlPage HTMLParser.parse(WebResponse webResponse, WebWindow webWindow)
          Deprecated. as of version 2.6, please use HTMLParser.parseHtml(WebResponse, WebWindow) instead
static HtmlPage HTMLParser.parseHtml(WebResponse webResponse, WebWindow webWindow)
          Parses the HTML content from the specified WebResponse into an object tree representation.
static XHtmlPage HTMLParser.parseXHtml(WebResponse webResponse, WebWindow webWindow)
          Parses the XHTML content from the specified WebResponse into an object tree representation.
 

Constructors in com.gargoylesoftware.htmlunit.html with parameters of type WebResponse
HtmlPage(java.net.URL originatingUrl, WebResponse webResponse, WebWindow webWindow)
          Creates an instance of HtmlPage.
XHtmlPage(java.net.URL originatingUrl, WebResponse webResponse, WebWindow webWindow)
          Creates a new XHTML page instance.
 

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.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  WebResponse FalsifyingWebConnection.replaceContent(WebResponse wr, java.lang.String newContent)
          Builds a WebResponse with new content, preserving all other information.
 

Methods in com.gargoylesoftware.htmlunit.util with parameters of type WebResponse
protected  WebResponse FalsifyingWebConnection.replaceContent(WebResponse wr, java.lang.String newContent)
          Builds a WebResponse with new content, preserving all other information.
protected  void DebuggingWebConnection.saveResponse(WebResponse response, WebRequestSettings settings)
          Saves the response content in the temp dir and adds 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 org.w3c.dom.Document XmlUtil.buildDocument(WebResponse webResponse)
          Builds a document from the content of the web response.
 

Constructors in com.gargoylesoftware.htmlunit.xml with parameters of type WebResponse
XmlPage(WebResponse webResponse, WebWindow enclosingWindow)
          Creates an instance.
XmlPage(WebResponse webResponse, WebWindow enclosingWindow, boolean ignoreSAXException)
          Creates an instance.
 



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