接口的使用
org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
使用SockJsServiceConfig的程序包 程序包 说明 org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandler
implementations for processing incoming requests, theirsession
counterparts for sending messages over the various transports, andDefaultSockJsService
.org.springframework.web.socket.sockjs.transport.handler TransportHandler
implementation classes as well as a concreteSockJsService
.org.springframework.web.socket.sockjs.transport.session SockJS specific implementations ofWebSocketSession
.org.springframework.web.socket.sockjs.transport中SockJsServiceConfig的使用
实现SockJsServiceConfig的org.springframework.web.socket.sockjs.transport中的类 修饰符和类型 类 说明 class
TransportHandlingSockJsService
A basic implementation ofSockJsService
with support for SPI-based transport handling and session management.参数类型为SockJsServiceConfig的org.springframework.web.socket.sockjs.transport中的方法 修饰符和类型 方法 说明 void
TransportHandler. initialize(SockJsServiceConfig serviceConfig)
Initialize this handler with the given configuration.org.springframework.web.socket.sockjs.transport.handler中SockJsServiceConfig的使用
实现SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 class
DefaultSockJsService
A default implementation ofSockJsService
with all defaultTransportHandler
implementations pre-registered.返回SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.handler中的方法 修饰符和类型 方法 说明 SockJsServiceConfig
AbstractTransportHandler. getServiceConfig()
protected SockJsServiceConfig
SockJsWebSocketHandler. getSockJsConfig()
参数类型为SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.handler中的方法 修饰符和类型 方法 说明 void
AbstractTransportHandler. initialize(SockJsServiceConfig serviceConfig)
参数类型为SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.handler中的构造器 构造器 说明 SockJsWebSocketHandler(SockJsServiceConfig serviceConfig, WebSocketHandler webSocketHandler, WebSocketServerSockJsSession sockJsSession)
org.springframework.web.socket.sockjs.transport.session中SockJsServiceConfig的使用
返回SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.session中的方法 修饰符和类型 方法 说明 SockJsServiceConfig
AbstractSockJsSession. getSockJsServiceConfig()
参数类型为SockJsServiceConfig的org.springframework.web.socket.sockjs.transport.session中的构造器 构造器 说明 AbstractHttpSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String,Object> attributes)
AbstractSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler handler, Map<String,Object> attributes)
Create a new instance.PollingSockJsSession(String sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String,Object> attributes)
StreamingSockJsSession(String sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String,Object> attributes)
WebSocketServerSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler handler, Map<String,Object> attributes)