接口的使用
org.springframework.web.socket.sockjs.SockJsService
使用SockJsService的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.sockjs.support Support classes for SockJS including anAbstractSockJsServiceimplementation.org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandlerimplementations for processing incoming requests, theirsessioncounterparts for sending messages over the various transports, andDefaultSockJsService.org.springframework.web.socket.sockjs.transport.handler TransportHandlerimplementation classes as well as a concreteSockJsService.org.springframework.web.socket.config.annotation中SockJsService的使用
返回SockJsService的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected SockJsServiceSockJsServiceRegistration. getSockJsService()参数类型为SockJsService的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected abstract voidAbstractWebSocketHandlerRegistration. addSockJsServiceMapping(M mappings, SockJsService sockJsService, WebSocketHandler handler, String pathPattern)protected voidServletWebSocketHandlerRegistration. addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings, SockJsService sockJsService, WebSocketHandler handler, String pathPattern)org.springframework.web.socket.sockjs.support中SockJsService的使用
实现SockJsService的org.springframework.web.socket.sockjs.support中的类 修饰符和类型 类 说明 classAbstractSockJsServiceAn abstract base class forSockJsServiceimplementations that provides SockJS path resolution and handling of static SockJS requests (e.g.返回SockJsService的org.springframework.web.socket.sockjs.support中的方法 修饰符和类型 方法 说明 SockJsServiceSockJsHttpRequestHandler. getSockJsService()Return theSockJsService.参数类型为SockJsService的org.springframework.web.socket.sockjs.support中的构造器 构造器 说明 SockJsHttpRequestHandler(SockJsService sockJsService, WebSocketHandler webSocketHandler)Create a new SockJsHttpRequestHandler.org.springframework.web.socket.sockjs.transport中SockJsService的使用
实现SockJsService的org.springframework.web.socket.sockjs.transport中的类 修饰符和类型 类 说明 classTransportHandlingSockJsServiceA basic implementation ofSockJsServicewith support for SPI-based transport handling and session management.org.springframework.web.socket.sockjs.transport.handler中SockJsService的使用
实现SockJsService的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 classDefaultSockJsServiceA default implementation ofSockJsServicewith all defaultTransportHandlerimplementations pre-registered.