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, getExtensions, getHandshakeAttributes, getHandshakeHeaders, getId, getLocalAddress, getPrincipal, getRemoteAddress, getUri, isOpen, sendMessageObject getNativeSession()
null<T> T getNativeSession(Class<T> requiredType)
requiredType - the required type of the sessionnull