java.lang.Object
io.helidon.webserver.websocket.WsRouting
- All Implemented Interfaces:
Routing,ServerLifecycle
WebSocket specific routing.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter server stop.voidBefore server start.static WsRouting.Builderbuilder()Builder for WebSocket routing.static WsRoutingempty()Empty WebSocket routing.findRoute(HttpPrologue prologue) Find a route based on the provided prologue.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart
-
Method Details
-
routingType
Description copied from interface:Routing- Specified by:
routingTypein interfaceRouting- Returns:
- this routing type
-
builder
Builder for WebSocket routing.- Returns:
- new builder
-
empty
Empty WebSocket routing.- Returns:
- empty routing
-
beforeStart
public void beforeStart()Description copied from interface:ServerLifecycleBefore server start.- Specified by:
beforeStartin interfaceServerLifecycle
-
afterStop
public void afterStop()Description copied from interface:ServerLifecycleAfter server stop.- Specified by:
afterStopin interfaceServerLifecycle
-
findRoute
Find a route based on the provided prologue.- Parameters:
prologue- prologue with path and other request information- Returns:
- found route
-