public class VertxWebSocketSession
extends org.springframework.web.reactive.socket.adapter.AbstractWebSocketSession<io.vertx.core.http.WebSocketBase>
| Constructor and Description |
|---|
VertxWebSocketSession(io.vertx.core.http.WebSocketBase delegate,
org.springframework.web.reactive.socket.HandshakeInfo handshakeInfo,
BufferConverter bufferConverter) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
close(org.springframework.web.reactive.socket.CloseStatus status) |
reactor.core.publisher.Flux<org.springframework.web.reactive.socket.WebSocketMessage> |
receive() |
reactor.core.publisher.Mono<Void> |
send(org.reactivestreams.Publisher<org.springframework.web.reactive.socket.WebSocketMessage> messages) |
binaryMessage, bufferFactory, getAttributes, getDelegate, getHandshakeInfo, getId, getLogPrefix, pingMessage, pongMessage, textMessage, toStringpublic VertxWebSocketSession(io.vertx.core.http.WebSocketBase delegate,
org.springframework.web.reactive.socket.HandshakeInfo handshakeInfo,
BufferConverter bufferConverter)
public reactor.core.publisher.Flux<org.springframework.web.reactive.socket.WebSocketMessage> receive()
receive in interface org.springframework.web.reactive.socket.WebSocketSessionreceive in class org.springframework.web.reactive.socket.adapter.AbstractWebSocketSession<io.vertx.core.http.WebSocketBase>public reactor.core.publisher.Mono<Void> send(org.reactivestreams.Publisher<org.springframework.web.reactive.socket.WebSocketMessage> messages)
send in interface org.springframework.web.reactive.socket.WebSocketSessionsend in class org.springframework.web.reactive.socket.adapter.AbstractWebSocketSession<io.vertx.core.http.WebSocketBase>public reactor.core.publisher.Mono<Void> close(org.springframework.web.reactive.socket.CloseStatus status)
Copyright © 2020. All rights reserved.