Package | Description |
---|---|
org.springframework.web.reactive.socket |
Abstractions and support classes for reactive WebSocket interactions.
|
org.springframework.web.reactive.socket.adapter |
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
|
org.springframework.web.reactive.socket.client |
Client support for WebSocket interactions.
|
Modifier and Type | Method and Description |
---|---|
HandshakeInfo |
WebSocketSession.getHandshakeInfo()
Return information from the handshake request.
|
Modifier and Type | Method and Description |
---|---|
HandshakeInfo |
AbstractWebSocketSession.getHandshakeInfo() |
Constructor and Description |
---|
AbstractListenerWebSocketSession(T delegate,
String id,
HandshakeInfo handshakeInfo,
DataBufferFactory bufferFactory)
Base constructor.
|
AbstractListenerWebSocketSession(T delegate,
String id,
HandshakeInfo handshakeInfo,
DataBufferFactory bufferFactory,
reactor.core.publisher.MonoProcessor<Void> completionMono)
Alternative constructor with completion
Mono<Void> to propagate
the session completion (success or error) (for client-side use). |
AbstractWebSocketSession(T delegate,
String id,
HandshakeInfo handshakeInfo,
DataBufferFactory bufferFactory)
Create a new instance and associate the given attributes with it.
|
JettyWebSocketSession(org.eclipse.jetty.websocket.api.Session session,
HandshakeInfo info,
DataBufferFactory factory) |
JettyWebSocketSession(org.eclipse.jetty.websocket.api.Session session,
HandshakeInfo info,
DataBufferFactory factory,
reactor.core.publisher.MonoProcessor<Void> completionMono) |
NettyWebSocketSessionSupport(T delegate,
HandshakeInfo info,
NettyDataBufferFactory factory) |
ReactorNettyWebSocketSession(reactor.ipc.netty.http.websocket.WebsocketInbound inbound,
reactor.ipc.netty.http.websocket.WebsocketOutbound outbound,
HandshakeInfo info,
NettyDataBufferFactory bufferFactory) |
StandardWebSocketSession(Session session,
HandshakeInfo info,
DataBufferFactory factory) |
StandardWebSocketSession(Session session,
HandshakeInfo info,
DataBufferFactory factory,
reactor.core.publisher.MonoProcessor<Void> completionMono) |
TomcatWebSocketSession(Session session,
HandshakeInfo info,
DataBufferFactory factory) |
TomcatWebSocketSession(Session session,
HandshakeInfo info,
DataBufferFactory factory,
reactor.core.publisher.MonoProcessor<Void> completionMono) |
UndertowWebSocketSession(io.undertow.websockets.core.WebSocketChannel channel,
HandshakeInfo info,
DataBufferFactory factory) |
UndertowWebSocketSession(io.undertow.websockets.core.WebSocketChannel channel,
HandshakeInfo info,
DataBufferFactory factory,
reactor.core.publisher.MonoProcessor<Void> completionMono) |
Modifier and Type | Method and Description |
---|---|
protected HandshakeInfo |
WebSocketClientSupport.afterHandshake(URI url,
HttpHeaders responseHeaders) |
Modifier and Type | Method and Description |
---|---|
protected StandardWebSocketSession |
TomcatWebSocketClient.createWebSocketSession(Session session,
HandshakeInfo info,
reactor.core.publisher.MonoProcessor<Void> completion) |
protected StandardWebSocketSession |
StandardWebSocketClient.createWebSocketSession(Session session,
HandshakeInfo info,
reactor.core.publisher.MonoProcessor<Void> completion) |