Class NewSessionQueuer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.openqa.selenium.remote.tracing.Tracer tracer  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NewSessionQueuer​(org.openqa.selenium.remote.tracing.Tracer tracer)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract org.openqa.selenium.remote.http.HttpResponse addToQueue​(org.openqa.selenium.remote.http.HttpRequest request)  
      abstract int clearQueue()  
      org.openqa.selenium.remote.http.HttpResponse execute​(org.openqa.selenium.remote.http.HttpRequest req)  
      boolean matches​(org.openqa.selenium.remote.http.HttpRequest req)  
      abstract java.util.Optional<org.openqa.selenium.remote.http.HttpRequest> remove​(RequestId reqId)  
      abstract boolean retryAddToQueue​(org.openqa.selenium.remote.http.HttpRequest request, RequestId reqId)  
      void validateSessionRequest​(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 org.openqa.selenium.remote.http.Routable

        with
    • Field Detail

      • tracer

        protected final org.openqa.selenium.remote.tracing.Tracer tracer
    • Constructor Detail

      • NewSessionQueuer

        protected NewSessionQueuer​(org.openqa.selenium.remote.tracing.Tracer tracer)
    • Method Detail

      • validateSessionRequest

        public void validateSessionRequest​(org.openqa.selenium.remote.http.HttpRequest request)
      • addToQueue

        public abstract org.openqa.selenium.remote.http.HttpResponse addToQueue​(org.openqa.selenium.remote.http.HttpRequest request)
      • retryAddToQueue

        public abstract boolean retryAddToQueue​(org.openqa.selenium.remote.http.HttpRequest request,
                                                RequestId reqId)
      • remove

        public abstract java.util.Optional<org.openqa.selenium.remote.http.HttpRequest> remove​(RequestId reqId)
      • clearQueue

        public abstract int clearQueue()
      • 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