org.jboss.test.faces.htmlunit
Class LocalWebConnection
java.lang.Object
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
|
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 |
LocalWebConnection
public LocalWebConnection(StagingServer localServer)
- Parameters:
localServer -
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.