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