程序包的使用
org.springframework.web.socket.server
使用org.springframework.web.socket.server的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.server Server-side abstractions for WebSocket interactions.org.springframework.web.socket.server.jetty Server-side support for the Jetty 9+ WebSocket API.org.springframework.web.socket.server.standard Server-side classes for use with standard JSR-356 WebSocket endpoints.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.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.config.annotation使用的org.springframework.web.socket.server中的类 类 说明 HandshakeHandler Contract for processing a WebSocket handshake request.HandshakeInterceptor Interceptor for WebSocket handshake requests.org.springframework.web.socket.server使用的org.springframework.web.socket.server中的类 类 说明 HandshakeFailureException Thrown when handshake processing failed to complete due to an internal, unrecoverable error.org.springframework.web.socket.server.jetty使用的org.springframework.web.socket.server中的类 类 说明 HandshakeFailureException Thrown when handshake processing failed to complete due to an internal, unrecoverable error.RequestUpgradeStrategy A server-specific strategy for performing the actual upgrade to a WebSocket exchange.org.springframework.web.socket.server.standard使用的org.springframework.web.socket.server中的类 类 说明 HandshakeFailureException Thrown when handshake processing failed to complete due to an internal, unrecoverable error.RequestUpgradeStrategy A server-specific strategy for performing the actual upgrade to a WebSocket exchange.org.springframework.web.socket.server.support使用的org.springframework.web.socket.server中的类 类 说明 HandshakeFailureException Thrown when handshake processing failed to complete due to an internal, unrecoverable error.HandshakeHandler Contract for processing a WebSocket handshake request.HandshakeInterceptor Interceptor for WebSocket handshake requests.RequestUpgradeStrategy A server-specific strategy for performing the actual upgrade to a WebSocket exchange.org.springframework.web.socket.sockjs.transport使用的org.springframework.web.socket.server中的类 类 说明 HandshakeInterceptor Interceptor for WebSocket handshake requests.org.springframework.web.socket.sockjs.transport.handler使用的org.springframework.web.socket.server中的类 类 说明 HandshakeFailureException Thrown when handshake processing failed to complete due to an internal, unrecoverable error.HandshakeHandler Contract for processing a WebSocket handshake request.