Package org.openqa.selenium.netty.server
Class NettyServer
java.lang.Object
org.openqa.selenium.netty.server.NettyServer
- All Implemented Interfaces:
HasLifecycle<NettyServer>
,Server<NettyServer>
-
Constructor Summary
ConstructorDescriptionNettyServer
(BaseServerOptions options, HttpHandler handler) NettyServer
(BaseServerOptions options, HttpHandler handler, BiFunction<String, Consumer<Message>, Optional<Consumer<Message>>> websocketHandler) -
Method Summary
-
Constructor Details
-
NettyServer
-
NettyServer
public NettyServer(BaseServerOptions options, HttpHandler handler, BiFunction<String, Consumer<Message>, Optional<Consumer<Message>>> websocketHandler)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStarted
in interfaceServer<NettyServer>
-
getUrl
- Specified by:
getUrl
in interfaceServer<NettyServer>
-
stop
public void stop()- Specified by:
stop
in interfaceHasLifecycle<NettyServer>
-
start
- Specified by:
start
in interfaceHasLifecycle<NettyServer>
-