Class StatusBasedReadinessCheck

  • All Implemented Interfaces:
    org.openqa.selenium.remote.http.HttpHandler

    public class StatusBasedReadinessCheck
    extends java.lang.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, java.lang.String url)  
    • 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)  
      • 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 Detail

      • StatusBasedReadinessCheck

        public StatusBasedReadinessCheck​(org.openqa.selenium.remote.http.HttpHandler handler,
                                         org.openqa.selenium.remote.http.HttpMethod method,
                                         java.lang.String url)
    • Method Detail

      • execute

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