org.openqa.selenium.server.htmlrunner
Class SingleTestSuiteResourceHandler
java.lang.Object
org.openqa.jetty.http.handler.AbstractHttpHandler
org.openqa.jetty.http.handler.ResourceHandler
org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler
- All Implemented Interfaces:
- java.io.Serializable, HttpHandler, LifeCycle
public class SingleTestSuiteResourceHandler
- extends ResourceHandler
Generates a test suite table designed to run a single Selenium test; to use it, point
TestRunner.html to /singleTest/http://my.com/single/test.html
- Author:
- dfabulich
- See Also:
- Serialized Form
Method Summary |
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
Handles the HTTP request and generates the suite table |
Methods inherited from class org.openqa.jetty.http.handler.ResourceHandler |
getAllowedMethods, getAllowedString, getMinGzipLength, getRedirectWelcome, getResource, handleGet, isAcceptRanges, isDirAllowed, isMethodAllowed, sendData, setAcceptRanges, setAllowedMethods, setDirAllowed, setMinGzipLength, setRedirectWelcome, start, stop, writeHeaders |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SingleTestSuiteResourceHandler
public SingleTestSuiteResourceHandler()
handle
public void handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
- Handles the HTTP request and generates the suite table
- Specified by:
handle
in interface HttpHandler
- Overrides:
handle
in class ResourceHandler
- Parameters:
pathInContext
- The context pathpathParams
- Path parameters such as encoded Session IDrequest
- The HttpRequest requestresponse
- The HttpResponse response
- Throws:
HttpException
java.io.IOException
Copyright © 2011. All Rights Reserved.