Package org.openqa.selenium.grid
Class TemplateGridServerCommand.Handlers
java.lang.Object
org.openqa.selenium.grid.TemplateGridServerCommand.Handlers
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
TemplateGridServerCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.openqa.selenium.remote.http.HttpHandlerOptional resolver for direct TCP tunnel of WebSocket connections.final BiFunction<String, Consumer<org.openqa.selenium.remote.http.Message>, Optional<Consumer<org.openqa.selenium.remote.http.Message>>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHandlers(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) protectedHandlers(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 Summary
-
Field Details
-
httpHandler
public final org.openqa.selenium.remote.http.HttpHandler httpHandler -
websocketHandler
public final BiFunction<String,Consumer<org.openqa.selenium.remote.http.Message>, websocketHandlerOptional<Consumer<org.openqa.selenium.remote.http.Message>>> -
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
-
-
Method Details
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-