public class CombinedHandler extends java.lang.Object implements java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest>, CommandHandler
Constructor and Description |
---|
CombinedHandler() |
Modifier and Type | Method and Description |
---|---|
<X extends java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> & CommandHandler> |
addHandler(X handler) |
void |
execute(org.openqa.selenium.remote.http.HttpRequest req,
org.openqa.selenium.remote.http.HttpResponse resp) |
boolean |
test(org.openqa.selenium.remote.http.HttpRequest request) |
public <X extends java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> & CommandHandler> void addHandler(X handler)
public boolean test(org.openqa.selenium.remote.http.HttpRequest request)
test
in interface java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest>
public void execute(org.openqa.selenium.remote.http.HttpRequest req, org.openqa.selenium.remote.http.HttpResponse resp) throws java.io.IOException
execute
in interface CommandHandler
java.io.IOException