public class SeleniumHTMLRunnerResultsHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
SeleniumHTMLRunnerResultsHandler() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void addListener(HTMLResultsListener listener)
public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse res) throws HttpException, IOException
HttpHandlerhandle in interface HttpHandlerpathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The HttpRequest requestres - The HttpResponse responseHttpExceptionIOExceptionpublic String getName()
HttpHandlergetName in interface HttpHandlerpublic HttpContext getHttpContext()
getHttpContext in interface HttpHandlerpublic void initialize(HttpContext c)
initialize in interface HttpHandlerpublic void start()
throws Exception
LifeCyclepublic void stop()
throws InterruptedException
LifeCyclestop in interface LifeCycleInterruptedException - 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.Copyright © 2013. All rights reserved.