Package org.openqa.selenium.grid.web
Class StatusBasedReadinessCheck
- java.lang.Object
-
- org.openqa.selenium.grid.web.StatusBasedReadinessCheck
-
- All Implemented Interfaces:
HttpHandler
public class StatusBasedReadinessCheck extends java.lang.Object implements HttpHandler
AnHttpHandler
that obeys the contracted required by a Kubernetes health check, but which reads a selenium `/status` endpoint.
-
-
Constructor Summary
Constructors Constructor Description StatusBasedReadinessCheck(HttpHandler handler, HttpMethod method, java.lang.String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
execute(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(HttpHandler handler, HttpMethod method, java.lang.String url)
-
-
Method Detail
-
execute
public HttpResponse execute(HttpRequest req) throws java.io.UncheckedIOException
- Specified by:
execute
in interfaceHttpHandler
- Throws:
java.io.UncheckedIOException
-
-