程序包 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 SockJSTransportthat 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 AnXhrTransportimplementation that uses aRestTemplate.SockJsClient A SockJS implementation ofWebSocketClientwith 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 ofAbstractClientSockJsSessionwrapping and delegating to an actual WebSocket session.WebSocketTransport A SockJSTransportthat uses aWebSocketClient.XhrClientSockJsSession An extension ofAbstractClientSockJsSessionfor use with HTTP transports simulating a WebSocket session.