|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler
public class SeleniumHTMLRunnerResultsHandler
Handles results of HTMLRunner (aka TestRunner, FITRunner) in automatic mode.
Constructor Summary | |
---|---|
SeleniumHTMLRunnerResultsHandler()
|
Method Summary | |
---|---|
void |
addListener(HTMLResultsListener listener)
|
HttpContext |
getHttpContext()
|
String |
getName()
Get the name of the handler. |
void |
handle(String pathInContext,
String pathParams,
HttpRequest request,
HttpResponse res)
Handle a request. |
void |
initialize(HttpContext c)
|
boolean |
isStarted()
|
void |
start()
Start the LifeCycle. |
void |
stop()
Stop the LifeCycle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeleniumHTMLRunnerResultsHandler()
Method Detail |
---|
public void addListener(HTMLResultsListener listener)
public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse res) throws HttpException, IOException
HttpHandler
handle
in interface HttpHandler
pathInContext
- The context pathpathParams
- Path parameters such as encoded Session IDrequest
- The HttpRequest requestres
- The HttpResponse response
HttpException
IOException
public String getName()
HttpHandler
getName
in interface HttpHandler
public HttpContext getHttpContext()
getHttpContext
in interface HttpHandler
public void initialize(HttpContext c)
initialize
in interface HttpHandler
public void start() throws Exception
LifeCycle
start
in interface LifeCycle
Exception
- An arbitrary exception may be thrown.public void stop() throws InterruptedException
LifeCycle
stop
in interface LifeCycle
InterruptedException
- Stopping a lifecycle is rarely atomic
and may be interrupted by another thread. If this happens
InterruptedException is throw and the component will be in an
indeterminant state and should probably be discarded.public boolean isStarted()
isStarted
in interface LifeCycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |