| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | ReactorNettyWebSocketSession.
Simple container for |
| Modifier and Type | Field and Description |
|---|---|
| private final ChannelId | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | ReactorNettyWebSocketSession(WebsocketInbound inbound, WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory)
Constructor for the session, using the |
| public | ReactorNettyWebSocketSession(WebsocketInbound inbound, WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory, int maxFramePayloadLength)
Constructor with an additional maxFramePayloadLength argument. |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | close(CloseStatus
the close status status)Implements org. Close the WebSocket session with the given status. |
| public Mono | closeStatus()
Implements org. Provides access to the |
| public ChannelId | |
| public boolean | isOpen()
Implements org. Whether the underlying connection is open. |
| public Flux | receive()
Implements abstract org. Implements org. Provides access to the stream of inbound messages. |
| public Mono | send(Publisher<WebSocketMessage> messages)
Implements abstract org. Implements org. Give a source of outgoing messages, write the messages and return a
|
| channelId | back to summary |
|---|---|
| private final ChannelId channelId | |
| maxFramePayloadLength | back to summary |
|---|---|
| private final int maxFramePayloadLength | |
| ReactorNettyWebSocketSession | back to summary |
|---|---|
| public ReactorNettyWebSocketSession(WebsocketInbound inbound, WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory) Constructor for the session, using the | |
| ReactorNettyWebSocketSession | back to summary |
|---|---|
| public ReactorNettyWebSocketSession(WebsocketInbound inbound, WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory, int maxFramePayloadLength) Constructor with an additional maxFramePayloadLength argument.
| |
| close | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Close the WebSocket session with the given status.
| |
| closeStatus | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Provides access to the
| |
| getChannelId | back to summary |
|---|---|
| public ChannelId getChannelId() Return the id of the underlying Netty channel.
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements org. Doc from org. Whether the underlying connection is open.
| |
| receive | back to summary |
|---|---|
| public Flux Implements abstract org. Implements org. Doc from org. Provides access to the stream of inbound messages. This stream receives a completion or error signal when the connection
is closed. In a typical See the class-level doc of
| |
| send | back to summary |
|---|---|
| public Mono Implements abstract org. Implements org. Doc from org. Give a source of outgoing messages, write the messages and return a
See the class-level doc of
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Connection
the input argument connection)Implements java. Performs this operation on the given argument. |
| public boolean |
| disposed | back to summary |
|---|---|
| private boolean disposed | |
| DisposedCallback | back to summary |
|---|---|
| private DisposedCallback() | |
| accept | back to summary |
|---|---|
| public void accept(Connection connection) Implements java. Doc from java. Performs this operation on the given argument.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() | |
NettyInbound and NettyOutbound.
| Modifier and Type | Field and Description |
|---|---|
| private final WebsocketInbound | |
| private final WebsocketOutbound |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public WebsocketInbound | |
| public WebsocketOutbound |
| inbound | back to summary |
|---|---|
| private final WebsocketInbound inbound | |
| outbound | back to summary |
|---|---|
| private final WebsocketOutbound outbound | |
| WebSocketConnection | back to summary |
|---|---|
| public WebSocketConnection(WebsocketInbound inbound, WebsocketOutbound outbound) | |
| getInbound | back to summary |
|---|---|
| public WebsocketInbound getInbound() | |
| getOutbound | back to summary |
|---|---|
| public WebsocketOutbound getOutbound() | |