public interface NativeWebSocketSession extends WebSocketSession
WebSocketSession that exposes the underlying, native WebSocketSession
through a getter.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getNativeSession()
Return the underlying native WebSocketSession.
|
<T> T |
getNativeSession(java.lang.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, setTextMessageSizeLimitjava.lang.Object getNativeSession()
<T> T getNativeSession(java.lang.Class<T> requiredType)
requiredType - the required type of the sessionnull if not available