Interface NativeWebSocketSession
- All Superinterfaces:
- AutoCloseable, Closeable, WebSocketSession
- All Known Implementing Classes:
- AbstractWebSocketSession, JettyWebSocketSession, StandardWebSocketSession, WebSocketClientSockJsSession, WebSocketServerSockJsSession
A 
WebSocketSession that exposes the underlying, native WebSocketSession
through a getter.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionReturn the underlying native WebSocketSession.<T> @Nullable TgetNativeSession(@Nullable Class<T> requiredType) Return the underlying native WebSocketSession, if available.Methods inherited from interface WebSocketSessionclose, close, getAcceptedProtocol, getAttributes, getBinaryMessageSizeLimit, getExtensions, getHandshakeHeaders, getId, getLocalAddress, getPrincipal, getRemoteAddress, getTextMessageSizeLimit, getUri, isOpen, sendMessage, setBinaryMessageSizeLimit, setTextMessageSizeLimit
- 
Method Details- 
getNativeSessionObject getNativeSession()Return the underlying native WebSocketSession.
- 
getNativeSession
 
-