See: Description
Interface | Description |
---|---|
StompEndpointRegistry |
A contract for registering STOMP over WebSocket endpoints.
|
StompWebSocketEndpointRegistration |
A contract for configuring a STOMP over WebSocket endpoint.
|
WebSocketConfigurer |
Defines callback methods to configure the WebSocket request handling
via
@EnableWebSocket . |
WebSocketHandlerRegistration |
Provides methods for configuring a WebSocket handler.
|
WebSocketHandlerRegistry |
Provides methods for configuring
WebSocketHandler request mappings. |
WebSocketMessageBrokerConfigurer |
Defines methods for configuring message handling with simple messaging
protocols (e.g.
|
Class | Description |
---|---|
AbstractWebSocketHandlerRegistration<M> |
Base class for
WebSocketHandlerRegistration s that gathers all the configuration
options but allows sub-classes to put together the actual HTTP request mappings. |
AbstractWebSocketMessageBrokerConfigurer |
A convenient abstract base class for
WebSocketMessageBrokerConfigurer
implementations providing empty method implementations for optional methods. |
DelegatingWebSocketConfiguration |
A variation of
WebSocketConfigurationSupport that detects implementations of
WebSocketConfigurer in Spring configuration and invokes them in order to
configure WebSocket request handling. |
DelegatingWebSocketMessageBrokerConfiguration |
A
WebSocketMessageBrokerConfigurationSupport extension that detects beans of type
WebSocketMessageBrokerConfigurer
and delegates to all of them allowing callback style customization of the
configuration provided in WebSocketMessageBrokerConfigurationSupport . |
ServletWebSocketHandlerRegistration |
A helper class for configuring
WebSocketHandler request handling
including SockJS fallback options. |
ServletWebSocketHandlerRegistry |
A
WebSocketHandlerRegistry that maps WebSocketHandler s to URLs for use
in a Servlet container. |
SockJsServiceRegistration |
A helper class for configuring SockJS fallback options, typically used indirectly, in
conjunction with
@EnableWebSocket and
WebSocketConfigurer . |
WebMvcStompEndpointRegistry |
A registry for STOMP over WebSocket endpoints that maps the endpoints with a
SimpleUrlHandlerMapping for use in Spring MVC. |
WebMvcStompWebSocketEndpointRegistration |
An abstract base class class for configuring STOMP over WebSocket/SockJS endpoints.
|
WebSocketConfigurationSupport |
Configuration support for WebSocket request handling.
|
WebSocketMessageBrokerConfigurationSupport |
Extends
AbstractMessageBrokerConfiguration and adds configuration for
receiving and responding to STOMP messages from WebSocket clients. |
Annotation Type | Description |
---|---|
EnableWebSocket |
Add this annotation to an
@Configuration class to configure
processing WebSocket requests:
@Configuration @EnableWebSocket public class MyWebSocketConfig { } |
EnableWebSocketMessageBroker |
Add this annotation to an
@Configuration class to enable broker-backed
messaging over WebSocket using a higher-level messaging sub-protocol. |