WebSocketSession adapters that provides
convenience methods to convert Netty WebSocketFrames to and from
WebSocketMessages.
This class is based on NettyWebSocketSessionSupport.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFAULT_FRAME_MAX_SIZE
The default max size for inbound WebSocket frames. |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Netty5DataBufferFactory | bufferFactory()
Overrides org. Implements org. Return a |
| protected WebSocketFrame | |
| protected WebSocketMessage |
| DEFAULT_FRAME_MAX_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_FRAME_MAX_SIZE The default max size for inbound WebSocket frames. | |
| messageTypes | back to summary |
|---|---|
| private static final Map<Class<?>, WebSocketMessage. | |
| Netty5WebSocketSessionSupport | back to summary |
|---|---|
| protected Netty5WebSocketSessionSupport(T delegate, HandshakeInfo info, Netty5DataBufferFactory factory) | |
| bufferFactory | back to summary |
|---|---|
| public Netty5DataBufferFactory bufferFactory() Overrides org. Implements org. Doc from org. Return a
| |
| toFrame | back to summary |
|---|---|
| protected WebSocketFrame toFrame(WebSocketMessage message) | |
| toMessage | back to summary |
|---|---|
| protected WebSocketMessage toMessage(WebSocketFrame frame) | |