接口的使用
org.springframework.web.socket.sockjs.transport.SockJsSessionFactory
使用SockJsSessionFactory的程序包 程序包 说明 org.springframework.web.socket.sockjs.transport.handler TransportHandler
implementation classes as well as a concreteSockJsService
.org.springframework.web.socket.sockjs.transport.handler中SockJsSessionFactory的使用
实现SockJsSessionFactory的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 class
AbstractHttpSendingTransportHandler
Base class for HTTP transport handlers that push messages to connected clients.class
EventSourceTransportHandler
A TransportHandler for sending messages via Server-Sent Events: https://dev.w3.org/html5/eventsource/.class
HtmlFileTransportHandler
An HTTPTransportHandler
that uses a famous browserdocument.domain technique
.class
WebSocketTransportHandler
WebSocket-basedTransportHandler
.class
XhrPollingTransportHandler
ATransportHandler
based on XHR (long) polling.class
XhrStreamingTransportHandler
ATransportHandler
that sends messages over an HTTP streaming request.