public class HtmlUnitRule extends FacesRule
| Modifier | Constructor and Description |
|---|---|
protected |
HtmlUnitRule(HtmlUnitEnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
static HtmlUnitRule |
create() |
static HtmlUnitRule |
create(ApplicationServer server) |
<P extends com.gargoylesoftware.htmlunit.Page> |
getPage(String url) |
after, apply, before, createFacesRequest, createFacesRequest, getApplication, getLifecycle, getServer, requestDestroyed, requestInitialized, setContextAttribute, setSessionAttribute, withContent, withFilter, withInitParameter, withListener, withResource, withResource, withWebRoot, withWebRoot, withWebRootprotected HtmlUnitRule(HtmlUnitEnvironment environment)
public static HtmlUnitRule create()
public static HtmlUnitRule create(ApplicationServer server)
public <P extends com.gargoylesoftware.htmlunit.Page> P getPage(String url) throws com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException, MalformedURLException, IOException
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeExceptionMalformedURLExceptionIOExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.