程序包 org.springframework.web.socket.sockjs.client
SockJS client implementation of
WebSocketClient
.接口概要 接口 说明 InfoReceiver A component that can execute the SockJS "Info" request that needs to be performed before the SockJS session starts in order to check server endpoint capabilities such as whether the endpoint permits use of WebSocket.Transport A client-side implementation for a SockJS transport.TransportRequest XhrTransport A SockJSTransport
that uses HTTP requests to simulate a WebSocket interaction.类概要 类 说明 AbstractClientSockJsSession Base class for SockJS client implementations ofWebSocketSession
.AbstractXhrTransport Abstract base class for XHR transport implementations to extend.JettyXhrTransport An XHR transport based on Jetty'sHttpClient
.RestTemplateXhrTransport AnXhrTransport
implementation that uses aRestTemplate
.SockJsClient A SockJS implementation ofWebSocketClient
with fallback alternatives that simulate a WebSocket interaction through plain HTTP streaming and long polling techniques..SockJsUrlInfo UndertowXhrTransport An XHR transport based on Undertow'sUndertowClient
.WebSocketClientSockJsSession An extension ofAbstractClientSockJsSession
wrapping and delegating to an actual WebSocket session.WebSocketTransport A SockJSTransport
that uses aWebSocketClient
.XhrClientSockJsSession An extension ofAbstractClientSockJsSession
for use with HTTP transports simulating a WebSocket session.