public interface RxWebSocketSession extends WebSocketSession
WebSocketSession
interface for RxJava.EMPTY
Modifier and Type | Method and Description |
---|---|
Set<? extends RxWebSocketSession> |
getOpenSessions()
The current open sessions.
|
<T> io.reactivex.Flowable<T> |
send(T message,
MediaType mediaType)
Broadcast a message and return a
Flowable . |
close, close, getAttributes, getId, getProtocolVersion, getRequestParameters, getRequestURI, getSubprotocol, getUriVariables, getUserPrincipal, isOpen, isSecure, send, sendAsync, sendAsync, sendSync, sendSync
clear, of, put, putAll, putAll, remove
asMap, asMap, asProperties, contains, empty, forEach, getValueType, isEmpty, iterator, names, subMap, subMap, subMap, values
get, get, get, get
forEach, spliterator
Set<? extends RxWebSocketSession> getOpenSessions()
getOpenSessions
in interface WebSocketSession
WebSocketSession.getOpenSessions()
<T> io.reactivex.Flowable<T> send(T message, MediaType mediaType)
Flowable
.send
in interface WebSocketSession
T
- The message generic typemessage
- The messagemediaType
- The media typeFlowable