org.jboss.jsfunit.framework
Class SimpleInitialRequestStrategy
java.lang.Object
org.jboss.jsfunit.framework.SimpleInitialRequestStrategy
- All Implemented Interfaces:
- InitialRequestStrategy
- Direct Known Subclasses:
- BasicAuthenticationStrategy, FormAuthenticationStrategy
public class SimpleInitialRequestStrategy
- extends Object
- implements InitialRequestStrategy
This initial request strategy does a simple JSF request to the server.
- Since:
- 1.0
- Author:
- Stan Silvert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleInitialRequestStrategy
public SimpleInitialRequestStrategy()
doInitialRequest
public com.gargoylesoftware.htmlunit.Page doInitialRequest(WebClientSpec wcSpec)
throws IOException
- Do the initial request.
- Specified by:
doInitialRequest
in interface InitialRequestStrategy
- Parameters:
wcSpec
- The WebClient specification.
- Returns:
- The Page obejct returned by HtmlUnit when the request is complete.
- Throws:
IOException
- if HtmlUnit encounters an error.
Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.