Uses of Class
com.meterware.httpunit.WebResponse

Packages that use WebResponse
com.meterware.httpunit Classes for testing http server systems. 
com.meterware.httpunit.dom   
com.meterware.httpunit.javascript   
com.meterware.httpunit.scripting   
com.meterware.servletunit Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container. 
 

Uses of WebResponse in com.meterware.httpunit
 

Methods in com.meterware.httpunit that return WebResponse
 WebResponse WebLink.click()
          Submits a request as though the user had clicked on this link.
protected  WebResponse WebRequestSource.getBaseResponse()
          Returns the web response containing this request source.
protected  WebResponse WebRequestSource.getCurrentFrameContents()
           
 WebResponse WebWindow.getCurrentPage()
          Returns the response representing the main page in this window.
 WebResponse WebClient.getCurrentPage()
          Returns the response representing the current top page in the main window.
 WebResponse WebClient.getFrameContents(FrameSelector targetFrame)
          Returns the response associated with the specified frame name in the main window.
 WebResponse WebWindow.getFrameContents(java.lang.String frameName)
          Returns the response associated with the specified frame name.
 WebResponse WebClient.getFrameContents(java.lang.String frameName)
          Returns the response associated with the specified frame name in the main window.
 WebResponse WebWindow.getOpener()
          Returns the web response that contained the script which opened this window.
 WebResponse WebWindow.getResource(WebRequest request)
          Returns the resource specified by the request.
 WebResponse WebClient.getResource(WebRequest request)
          Returns the resource specified by the request.
 WebResponse WebWindow.getResponse(java.lang.String urlString)
          Submits a GET method request and returns a response.
 WebResponse WebClient.getResponse(java.lang.String urlString)
          Submits a GET method request and returns a response.
 WebResponse WebWindow.getResponse(WebRequest request)
          Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server.
 WebResponse WebClient.getResponse(WebRequest request)
          Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server.
 WebResponse WebResponse.getSubframeContents(java.lang.String subFrameName)
          Returns the contents of the specified subframe of this frameset response.
static WebResponse WebResponse.newResponse(java.net.URLConnection connection)
          Returns a web response built from a URL connection.
protected abstract  WebResponse WebClient.newResponse(WebRequest request, FrameSelector targetFrame)
          Creates a web response object which represents the response to the specified web request.
protected  WebResponse WebConversation.newResponse(WebRequest request, FrameSelector targetFrame)
          Creates a web response object which represents the response to the specified web request.
 WebResponse WebWindow.sendRequest(WebRequest request)
          Submits a web request and returns a response.
 WebResponse WebClient.sendRequest(WebRequest request)
          Submits a web request and returns a response.
 WebResponse WebForm.submit()
          Submits this form using the web client from which it was originally obtained.
 WebResponse WebForm.submit(SubmitButton button)
          Submits this form using the web client from which it was originally obtained.
 WebResponse WebForm.submit(SubmitButton button, int x, int y)
          Submits this form using the web client from which it was originally obtained.
 WebResponse WebForm.submitNoButton()
          Submits this form using the web client from which it was originally obtained, ignoring any buttons defined for the form.
protected  WebResponse WebForm.submitRequest(java.lang.String event, WebRequest request)
           
protected  WebResponse WebRequestSource.submitRequest(java.lang.String event, WebRequest request)
          submit the given event for the given request
protected  WebResponse WebRequestSource.submitRequest(WebRequest request)
          Submits a request to the web client from which this request source was originally obtained.
 

Methods in com.meterware.httpunit with parameters of type WebResponse
 void WebClientListener.responseReceived(WebClient src, WebResponse resp)
          Invoked when the web client receives a response.
protected  void WebClient.updateMainWindow(FrameSelector frame, WebResponse response)
          Updates this web client based on a received response.
 

Constructors in com.meterware.httpunit with parameters of type WebResponse
BlockElement(WebResponse response, FrameSelector frame, java.net.URL baseURL, java.lang.String baseTarget, org.w3c.dom.Node rootNode, java.lang.String characterSet)
           
HeaderOnlyWebRequest(WebResponse referer, org.w3c.dom.Element sourceElement, java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
           
TextBlock(WebResponse response, FrameSelector frame, java.net.URL baseURL, java.lang.String baseTarget, org.w3c.dom.Node rootNode, java.lang.String characterSet)
           
WebApplet(WebResponse response, org.w3c.dom.html.HTMLAppletElement element, java.lang.String baseTarget)
           
WebList(WebResponse response, FrameSelector frame, java.net.URL baseURL, java.lang.String baseTarget, org.w3c.dom.Element element, java.lang.String characterSet)
           
WebRequest(WebResponse referer, org.w3c.dom.Element sourceElement, java.net.URL urlBase, java.lang.String urlString, java.lang.String target)
          Constructs a web request using a base URL, a relative URL string, and a target.
 

Uses of WebResponse in com.meterware.httpunit.dom
 

Methods in com.meterware.httpunit.dom with parameters of type WebResponse
 void DomBasedScriptingEngineFactory.associate(WebResponse response)
          associate me with a webresponse
 ScriptingHandler DomBasedScriptingEngineFactory.createHandler(WebResponse response)
           
 void DomBasedScriptingEngineFactory.load(WebResponse response)
          load
 

Uses of WebResponse in com.meterware.httpunit.javascript
 

Methods in com.meterware.httpunit.javascript with parameters of type WebResponse
 void JavaScriptEngineFactory.associate(WebResponse response)
           
 ScriptingHandler JavaScriptEngineFactory.createHandler(WebResponse response)
           
 void JavaScriptEngineFactory.load(WebResponse response)
           
static void JavaScript.load(WebResponse response)
          Runs the onload event for the specified web response.
static void JavaScript.run(WebResponse response)
          Initiates JavaScript execution for the specified web response.
 

Uses of WebResponse in com.meterware.httpunit.scripting
 

Methods in com.meterware.httpunit.scripting with parameters of type WebResponse
 void ScriptingEngineFactory.associate(WebResponse response)
          Associates a scripting engine with the specified HTML web response.
 ScriptingHandler ScriptingEngineFactory.createHandler(WebResponse response)
           
 void ScriptingEngineFactory.load(WebResponse response)
          Runs the 'onload' event (if any) for the specified HTML web response.
 

Uses of WebResponse in com.meterware.servletunit
 

Methods in com.meterware.servletunit that return WebResponse
 WebResponse ServletUnitClient.getResponse(InvocationContext invocation)
          Updates this client and returns the response which would be displayed by the user agent.
 WebResponse ServletRunner.getResponse(java.lang.String url)
          Returns the response from the specified servlet using GET.
 WebResponse ServletRunner.getResponse(WebRequest request)
          Returns the response from the specified servlet.
 WebResponse InvocationContext.getServletResponse()
          Returns the final response from the servlet.
protected  WebResponse ServletUnitClient.newResponse(WebRequest request, FrameSelector targetFrame)
          Creates a web response object which represents the response to the specified web request.
 



Copyright © 2011. All Rights Reserved.