接口的使用
org.springframework.web.socket.sockjs.client.InfoReceiver
使用InfoReceiver的程序包 程序包 说明 org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.sockjs.client中InfoReceiver的使用
org.springframework.web.socket.sockjs.client中InfoReceiver的子接口 修饰符和类型 接口 说明 interface
XhrTransport
A SockJSTransport
that uses HTTP requests to simulate a WebSocket interaction.实现InfoReceiver的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
.返回InfoReceiver的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 InfoReceiver
SockJsClient. getInfoReceiver()
Return the configuredInfoReceiver
(nevernull
).参数类型为InfoReceiver的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 void
SockJsClient. setInfoReceiver(InfoReceiver infoReceiver)
Configure theInfoReceiver
to use to perform the SockJS "Info" request before the SockJS session starts.