接口的使用
org.springframework.web.socket.adapter.NativeWebSocketSession
使用NativeWebSocketSession的程序包 程序包 说明 org.springframework.web.socket.adapter Classes adapting Spring's WebSocket API to and from WebSocket providers.org.springframework.web.socket.adapter.jetty Adapter classes for the Jetty WebSocket API.org.springframework.web.socket.adapter.standard Adapter classes for the standard Java WebSocket API.org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.sockjs.transport.session SockJS specific implementations ofWebSocketSession
.org.springframework.web.socket.adapter中NativeWebSocketSession的使用
实现NativeWebSocketSession的org.springframework.web.socket.adapter中的类 修饰符和类型 类 说明 class
AbstractWebSocketSession<T>
An abstract base class for implementations ofWebSocketSession
.org.springframework.web.socket.adapter.jetty中NativeWebSocketSession的使用
实现NativeWebSocketSession的org.springframework.web.socket.adapter.jetty中的类 修饰符和类型 类 说明 class
JettyWebSocketSession
AWebSocketSession
for use with the Jetty 9.4 WebSocket API.org.springframework.web.socket.adapter.standard中NativeWebSocketSession的使用
实现NativeWebSocketSession的org.springframework.web.socket.adapter.standard中的类 修饰符和类型 类 说明 class
StandardWebSocketSession
AWebSocketSession
for use with the standard WebSocket for Java API.org.springframework.web.socket.sockjs.client中NativeWebSocketSession的使用
实现NativeWebSocketSession的org.springframework.web.socket.sockjs.client中的类 修饰符和类型 类 说明 class
WebSocketClientSockJsSession
An extension ofAbstractClientSockJsSession
wrapping and delegating to an actual WebSocket session.org.springframework.web.socket.sockjs.transport.session中NativeWebSocketSession的使用
实现NativeWebSocketSession的org.springframework.web.socket.sockjs.transport.session中的类 修饰符和类型 类 说明 class
WebSocketServerSockJsSession
A SockJS session for use with the WebSocket transport.