Package org.openqa.selenium.grid.web
Class ResourceHandler
- java.lang.Object
-
- org.openqa.selenium.grid.web.ResourceHandler
-
- All Implemented Interfaces:
HttpHandler
,Routable
public class ResourceHandler extends java.lang.Object implements Routable
-
-
Constructor Summary
Constructors Constructor Description ResourceHandler(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
execute(HttpRequest req)
boolean
matches(HttpRequest req)
-
-
-
Constructor Detail
-
ResourceHandler
public ResourceHandler(Resource resource)
-
-
Method Detail
-
matches
public boolean matches(HttpRequest req)
-
execute
public HttpResponse execute(HttpRequest req) throws java.io.UncheckedIOException
- Specified by:
execute
in interfaceHttpHandler
- Throws:
java.io.UncheckedIOException
-
-