Class CombinedHandler

java.lang.Object
org.openqa.selenium.grid.web.CombinedHandler
All Implemented Interfaces:
Predicate<org.openqa.selenium.remote.http.HttpRequest>, org.openqa.selenium.remote.http.HttpHandler, org.openqa.selenium.remote.http.Routable

public class CombinedHandler extends Object implements Predicate<org.openqa.selenium.remote.http.HttpRequest>, org.openqa.selenium.remote.http.Routable, org.openqa.selenium.remote.http.HttpHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addHandler(org.openqa.selenium.remote.http.Routable handler)
     
    org.openqa.selenium.remote.http.HttpResponse
    execute(org.openqa.selenium.remote.http.HttpRequest req)
     
    boolean
    matches(org.openqa.selenium.remote.http.HttpRequest req)
     
    boolean
    test(org.openqa.selenium.remote.http.HttpRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Predicate

    and, negate, or

    Methods inherited from interface org.openqa.selenium.remote.http.Routable

    with
  • Constructor Details

    • CombinedHandler

      public CombinedHandler()
  • Method Details

    • addHandler

      public void addHandler(org.openqa.selenium.remote.http.Routable handler)
    • test

      public boolean test(org.openqa.selenium.remote.http.HttpRequest request)
      Specified by:
      test in interface Predicate<org.openqa.selenium.remote.http.HttpRequest>
    • matches

      public boolean matches(org.openqa.selenium.remote.http.HttpRequest req)
      Specified by:
      matches in interface org.openqa.selenium.remote.http.Routable
    • execute

      public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req)
      Specified by:
      execute in interface org.openqa.selenium.remote.http.HttpHandler