public class HtmlUnitEnvironment extends FacesEnvironment
FacesEnvironment.FacesRequestFACES_CONFIG_XML, WEB_XML| Constructor and Description |
|---|
HtmlUnitEnvironment() |
HtmlUnitEnvironment(ApplicationServer applicationServer) |
| Modifier and Type | Method and Description |
|---|---|
<P extends com.gargoylesoftware.htmlunit.Page> |
getPage(String url) |
com.gargoylesoftware.htmlunit.WebClient |
getWebClient() |
void |
release() |
void |
setBrowserVersion(com.gargoylesoftware.htmlunit.BrowserVersion browserVersion) |
FacesEnvironment |
start() |
createEnvironment, createEnvironment, createFacesRequest, createFacesRequest, getApplication, getHiddenFields, getInputFields, getLifecycle, getServer, setupFacesListener, setupFacesServlet, setupJsfInitParameters, setupMyFaces, setupSunFaces, setupWebContent, withContent, withFilter, withInitParameter, withResource, withResource, withResourcesFromDirectory, withRichFaces, withSeam, withWebRoot, withWebRoot, withWebRootpublic HtmlUnitEnvironment()
public HtmlUnitEnvironment(ApplicationServer applicationServer)
public com.gargoylesoftware.htmlunit.WebClient getWebClient()
public void setBrowserVersion(com.gargoylesoftware.htmlunit.BrowserVersion browserVersion)
public FacesEnvironment start()
start in class FacesEnvironmentpublic <P extends com.gargoylesoftware.htmlunit.Page> P getPage(String url) throws com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException, MalformedURLException, IOException
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeExceptionMalformedURLExceptionIOExceptionpublic void release()
release in class FacesEnvironmentCopyright © 2014 JBoss by Red Hat. All Rights Reserved.