public interface NativeWebSocketSession extends WebSocketSession
WebSocketSession
that exposes the underlying, native WebSocketSession
through a getter.Modifier and Type | Method and Description |
---|---|
Object |
getNativeSession()
Return the underlying native WebSocketSession, if available.
|
<T> T |
getNativeSession(Class<T> requiredType)
Return the underlying native WebSocketSession, if available.
|
close, close, getAcceptedProtocol, getAttributes, getBinaryMessageSizeLimit, getExtensions, getHandshakeHeaders, getId, getLocalAddress, getPrincipal, getRemoteAddress, getTextMessageSizeLimit, getUri, isOpen, sendMessage, setBinaryMessageSizeLimit, setTextMessageSizeLimit
Object getNativeSession()
null
<T> T getNativeSession(Class<T> requiredType)
requiredType
- the required type of the sessionnull