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 TypeMethodDescriptionvoid
After server stop.void
Before server start.static WsRouting.Builder
builder()
Builder for WebSocket routing.static WsRouting
empty()
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, wait
Methods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart
-
Method Details
-
routingType
Description copied from interface:Routing
- Specified by:
routingType
in 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:ServerLifecycle
Before server start.- Specified by:
beforeStart
in interfaceServerLifecycle
-
afterStop
public void afterStop()Description copied from interface:ServerLifecycle
After server stop.- Specified by:
afterStop
in interfaceServerLifecycle
-
findRoute
Find a route based on the provided prologue.- Parameters:
prologue
- prologue with path and other request information- Returns:
- found route
-