接口的使用
org.springframework.web.socket.sockjs.client.Transport
使用Transport的程序包 程序包 说明 org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.sockjs.client中Transport的使用
org.springframework.web.socket.sockjs.client中Transport的子接口 修饰符和类型 接口 说明 interface
XhrTransport
A SockJSTransport
that uses HTTP requests to simulate a WebSocket interaction.实现Transport的org.springframework.web.socket.sockjs.client中的类 修饰符和类型 类 说明 class
AbstractXhrTransport
Abstract base class for XHR transport implementations to extend.class
JettyXhrTransport
An XHR transport based on Jetty'sHttpClient
.class
RestTemplateXhrTransport
AnXhrTransport
implementation that uses aRestTemplate
.class
UndertowXhrTransport
An XHR transport based on Undertow'sUndertowClient
.class
WebSocketTransport
A SockJSTransport
that uses aWebSocketClient
.类型变量类型为Transport的org.springframework.web.socket.sockjs.client中的构造器参数 构造器 说明 SockJsClient(List<Transport> transports)
Create aSockJsClient
with the given transports.