org.jboss.jsfunit.framework
Interface InitialRequestStrategy
- All Known Implementing Classes:
- BasicAuthenticationStrategy, FormAuthenticationStrategy, SimpleInitialRequestStrategy
public interface InitialRequestStrategy
Implementations of this interface allow for different ways to make the
initial request that starts a JSF session. Implementers of this interface
will need to use only the HtmlUnit API as the initial setup does not need
to be JSF-specific.
- Since:
- 1.0
- Author:
- Stan Silvert
doInitialRequest
com.gargoylesoftware.htmlunit.Page doInitialRequest(WebClientSpec wcSpec)
throws IOException
- Do the initial request. This request may consist of logging in or
doing some application-specific setup.
- Parameters:
wcSpec
- The WebClient specification.
- Returns:
- The Page obejct returned by HtmlUnit when the initial setup is
complete.
- Throws:
IOException
- if HtmlUnit encounters an error.
Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.