Class TemplateGridServerCommand.Handlers

java.lang.Object
org.openqa.selenium.grid.TemplateGridServerCommand.Handlers
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
TemplateGridServerCommand

protected abstract static class TemplateGridServerCommand.Handlers extends Object implements Closeable
  • Field Details

    • httpHandler

      public final org.openqa.selenium.remote.http.HttpHandler httpHandler
    • websocketHandler

      public final BiFunction<String,Consumer<org.openqa.selenium.remote.http.Message>,Optional<Consumer<org.openqa.selenium.remote.http.Message>>> websocketHandler
    • tcpTunnelResolver

      public final @Nullable Function<String,Optional<URI>> tcpTunnelResolver
      Optional resolver for direct TCP tunnel of WebSocket connections. May be null.
  • Constructor Details

    • Handlers

      protected Handlers(org.openqa.selenium.remote.http.HttpHandler http, @Nullable BiFunction<String,Consumer<org.openqa.selenium.remote.http.Message>,Optional<Consumer<org.openqa.selenium.remote.http.Message>>> websocketHandler)
    • Handlers

      protected Handlers(org.openqa.selenium.remote.http.HttpHandler http, @Nullable BiFunction<String,Consumer<org.openqa.selenium.remote.http.Message>,Optional<Consumer<org.openqa.selenium.remote.http.Message>>> websocketHandler, @Nullable Function<String,Optional<URI>> tcpTunnelResolver)
  • Method Details