java.lang.Object
io.helidon.webserver.websocket.WsRouting
- All Implemented Interfaces:
Routing
,ServerLifecycle
WebSocket specific routing.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
After server stop.void
Before server start.static WsRouting.Builder
builder()
Builder for WebSocket routing.static WsRouting
empty()
Emtpy WebSocket routing.findRoute
(HttpPrologue prologue) Find a route based on the provided prologue.
-
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
Emtpy 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
-