1package dev.rafex.ether.websocket.jetty12;
29import org.eclipse.jetty.server.Server;
38public final class JettyWebSocketServerRunner {
40 private final Server server;
47 JettyWebSocketServerRunner(
final Server server) {
56 public void start() throws Exception {
65 public void join() throws InterruptedException {
74 public void stop() throws Exception {
void join()
Blocks the calling thread until the server is stopped.
void stop()
Stops the underlying Jetty server.
Server server()
Returns the underlying Jetty Server for advanced use cases.
void start()
Starts the underlying Jetty server.