Class StatusBasedReadinessCheck

java.lang.Object
org.openqa.selenium.grid.web.StatusBasedReadinessCheck
All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler

public class StatusBasedReadinessCheck extends Object implements org.openqa.selenium.remote.http.HttpHandler
An HttpHandler that obeys the contracted required by a Kubernetes health check, but which reads a selenium `/status` endpoint.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatusBasedReadinessCheck(org.openqa.selenium.remote.http.HttpHandler handler, org.openqa.selenium.remote.http.HttpMethod method, String url)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openqa.selenium.remote.http.HttpResponse
    execute(org.openqa.selenium.remote.http.HttpRequest req)
     

    Methods inherited from class java.lang.Object

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

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

    with
  • Constructor Details

    • StatusBasedReadinessCheck

      public StatusBasedReadinessCheck(org.openqa.selenium.remote.http.HttpHandler handler, org.openqa.selenium.remote.http.HttpMethod method, String url)
  • Method Details

    • execute

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