WebSocketSession that exposes the underlying, native WebSocketSession
through a getter.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public <T> T | Returns: the native session of the required type, ornull if not availablethe required type of the session requiredType)Return the underlying native WebSocketSession, if available. |
| getNativeSession | back to summary |
|---|---|
| public Object getNativeSession() Return the underlying native WebSocketSession. | |
| getNativeSession | back to summary |
|---|---|
| public <T> T getNativeSession(Class<T> requiredType) Return the underlying native WebSocketSession, if available. | |