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
ConstructorsConstructorDescriptionNettyServer(BaseServerOptions options, org.openqa.selenium.remote.http.HttpHandler handler) NettyServer(BaseServerOptions options, org.openqa.selenium.remote.http.HttpHandler handler, BiFunction<String, Consumer<org.openqa.selenium.remote.http.Message>, Optional<Consumer<org.openqa.selenium.remote.http.Message>>> websocketHandler) -
Method Summary
-
Constructor Details
-
NettyServer
-
NettyServer
public NettyServer(BaseServerOptions options, org.openqa.selenium.remote.http.HttpHandler handler, BiFunction<String, Consumer<org.openqa.selenium.remote.http.Message>, Optional<Consumer<org.openqa.selenium.remote.http.Message>>> websocketHandler)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceServer<NettyServer>
-
getUrl
- Specified by:
getUrlin interfaceServer<NettyServer>
-
stop
public void stop()- Specified by:
stopin interfaceHasLifecycle<NettyServer>
-
start
- Specified by:
startin interfaceHasLifecycle<NettyServer>
-