Package org.openqa.selenium.grid.web
Class CombinedHandler
- java.lang.Object
-
- org.openqa.selenium.grid.web.CombinedHandler
-
- All Implemented Interfaces:
java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest>,org.openqa.selenium.remote.http.HttpHandler,org.openqa.selenium.remote.http.Routable
public class CombinedHandler extends java.lang.Object implements java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest>, org.openqa.selenium.remote.http.Routable, org.openqa.selenium.remote.http.HttpHandler
-
-
Constructor Summary
Constructors Constructor Description CombinedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHandler(org.openqa.selenium.remote.http.Routable handler)org.openqa.selenium.remote.http.HttpResponseexecute(org.openqa.selenium.remote.http.HttpRequest req)booleanmatches(org.openqa.selenium.remote.http.HttpRequest req)booleantest(org.openqa.selenium.remote.http.HttpRequest request)
-
-
-
Method Detail
-
addHandler
public void addHandler(org.openqa.selenium.remote.http.Routable handler)
-
test
public boolean test(org.openqa.selenium.remote.http.HttpRequest request)
- Specified by:
testin interfacejava.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest>
-
matches
public boolean matches(org.openqa.selenium.remote.http.HttpRequest req)
- Specified by:
matchesin interfaceorg.openqa.selenium.remote.http.Routable
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req)
- Specified by:
executein interfaceorg.openqa.selenium.remote.http.HttpHandler
-
-