JSF Test Framework: HtmlUnit 1.1.2

org.jboss.test.faces.htmlunit
Class LocalWebConnection

java.lang.Object
  extended by org.jboss.test.faces.htmlunit.LocalWebConnection
All Implemented Interfaces:
com.gargoylesoftware.htmlunit.WebConnection

public final class LocalWebConnection
extends Object
implements com.gargoylesoftware.htmlunit.WebConnection

This implementation of the HtmlUnit WebConnection execute http requests on the local staging server instead of the real network connection.

Author:
asmirnov

Constructor Summary
LocalWebConnection(StagingServer localServer)
           
 
Method Summary
 com.gargoylesoftware.htmlunit.WebResponse getResponse(com.gargoylesoftware.htmlunit.WebRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalWebConnection

public LocalWebConnection(StagingServer localServer)
Parameters:
localServer -
Method Detail

getResponse

public com.gargoylesoftware.htmlunit.WebResponse getResponse(com.gargoylesoftware.htmlunit.WebRequest request)
                                                      throws IOException
Specified by:
getResponse in interface com.gargoylesoftware.htmlunit.WebConnection
Throws:
IOException

JSF Test Framework: HtmlUnit 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.