接口的使用
org.springframework.web.socket.client.WebSocketClient
使用WebSocketClient的程序包 程序包 说明 org.springframework.web.socket.client Client-side abstractions for WebSocket applications.org.springframework.web.socket.client.jetty Client-side support for the Jetty WebSocket API.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.client中WebSocketClient的使用
实现WebSocketClient的org.springframework.web.socket.client中的类 修饰符和类型 类 说明 class
AbstractWebSocketClient
Abstract base class forWebSocketClient
implementations.参数类型为WebSocketClient的org.springframework.web.socket.client中的构造器 构造器 说明 WebSocketConnectionManager(WebSocketClient client, WebSocketHandler webSocketHandler, String uriTemplate, Object... uriVariables)
org.springframework.web.socket.client.jetty中WebSocketClient的使用
实现WebSocketClient的org.springframework.web.socket.client.jetty中的类 修饰符和类型 类 说明 class
JettyWebSocketClient
Initiates WebSocket requests to a WebSocket server programmatically through the Jetty WebSocket API.org.springframework.web.socket.client.standard中WebSocketClient的使用
实现WebSocketClient的org.springframework.web.socket.client.standard中的类 修饰符和类型 类 说明 class
StandardWebSocketClient
A WebSocketClient based on standard Java WebSocket API.org.springframework.web.socket.messaging中WebSocketClient的使用
返回WebSocketClient的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 WebSocketClient
WebSocketStompClient. getWebSocketClient()
Return the configured WebSocketClient.参数类型为WebSocketClient的org.springframework.web.socket.messaging中的构造器 构造器 说明 WebSocketStompClient(WebSocketClient webSocketClient)
Class constructor.org.springframework.web.socket.sockjs.client中WebSocketClient的使用
实现WebSocketClient的org.springframework.web.socket.sockjs.client中的类 修饰符和类型 类 说明 class
SockJsClient
A SockJS implementation ofWebSocketClient
with fallback alternatives that simulate a WebSocket interaction through plain HTTP streaming and long polling techniques..返回WebSocketClient的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 WebSocketClient
WebSocketTransport. getWebSocketClient()
Return the configuredWebSocketClient
.参数类型为WebSocketClient的org.springframework.web.socket.sockjs.client中的构造器 构造器 说明 WebSocketTransport(WebSocketClient webSocketClient)