| Modifier and Type | Field and Description |
|---|---|
| public static final Function | |
| public static final BiFunction |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the subprotocol, or nullReturns the websocket subprotocol negotiated by the client and server during the websocket handshake, or null if none was requested. |
| public NettyOutbound | send(Publisher<? extends Buffer>
the dataStream publishing OUT items to write on this channel dataStream)Redeclares as abstract: reactor. |
| public Mono | |
| public Mono | |
| public Mono | Returns: aMono fulfilled when the send succeeded or failed, immediately
completed if already closedInteger status code as per RFC 6455#section-7.4. For
example, 1000 indicates normal closure. statusCode, String Reason text. Set to null if no text. reasonText)Prepare to send a close frame on subscribe then close the underlying channel |
| public Mono | Returns: aMono fulfilled when the send succeeded or failed, immediately
completed if already closedreserved bits used for protocol extensions rsv, int Integer status code as per RFC 6455#section-7.4. For
example, 1000 indicates normal closure. statusCode, String Reason text. Set to null if no text. reasonText)Prepare to send a close frame on subscribe then close the underlying channel |
| public default NettyOutbound | sendString(Publisher<? extends String>
the dataStream publishing Buffer items to write on this channel dataStream, Charset the encoding charset charset)Overrides default reactor. |
| bytebufToWebsocketFrame | back to summary |
|---|---|
| public static final Function<? super Buffer, ? extends WebSocketFrame> bytebufToWebsocketFrame | |
| stringToWebsocketFrame | back to summary |
|---|---|
| public static final BiFunction<? super BufferAllocator, ? super String, ? extends WebSocketFrame> stringToWebsocketFrame | |
| selectedSubprotocol | back to summary |
|---|---|
| public String selectedSubprotocol() Returns the websocket subprotocol negotiated by the client and server during the websocket handshake, or null if none was requested. | |
| send | back to summary |
|---|---|
| public NettyOutbound send(Publisher<? extends Buffer> dataStream) Redeclares as abstract: reactor. Doc from reactor. Sends data to the peer, listens for any error on write and closes on terminal signal (complete|error). A new Note Nesting any send* method is not supported. Note If you need to transform from
| |
| sendClose | back to summary |
|---|---|
| public Mono Prepare to send a close frame on subscribe then close the underlying channel | |
| sendClose | back to summary |
|---|---|
| public Mono Prepare to send a close frame on subscribe then close the underlying channel | |
| sendClose | back to summary |
|---|---|
| public Mono Prepare to send a close frame on subscribe then close the underlying channel
| |
| sendClose | back to summary |
|---|---|
| public Mono Prepare to send a close frame on subscribe then close the underlying channel
| |
| sendString | back to summary |
|---|---|
| public default NettyOutbound sendString(Publisher<? extends String> dataStream, Charset charset) Overrides default reactor. Doc from reactor. Sends String to the peer, listens for any error on write and closes on terminal signal (complete|error). If more than one publisher is attached (multiple calls to send()) completion occurs after all publishers complete. Note Nesting any send* method is not supported.
| |