@Internal public class WebSocketState extends java.lang.Object
Constructor and Description |
---|
WebSocketState(WebSocketSession session,
HttpRequest<?> originatingRequest)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest<?> |
getOriginatingRequest() |
WebSocketSession |
getSession() |
public WebSocketState(WebSocketSession session, HttpRequest<?> originatingRequest)
session
- The sessionoriginatingRequest
- The originating requestpublic WebSocketSession getSession()
public HttpRequest<?> getOriginatingRequest()