Package io.micronaut.websocket.bind
Class WebSocketState
java.lang.Object
io.micronaut.websocket.bind.WebSocketState
Holder object used to bind WebSocket state.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorDescriptionWebSocketState
(WebSocketSession session, HttpRequest<?> originatingRequest) Default constructor. -
Method Summary
-
Constructor Details
-
WebSocketState
Default constructor.- Parameters:
session
- The sessionoriginatingRequest
- The originating request
-
-
Method Details
-
getSession
- Returns:
- The session
-
getOriginatingRequest
- Returns:
- The originating request
-