Package | Description |
---|---|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
Modifier and Type | Class and Description |
---|---|
class |
WebMvcStompWebSocketEndpointRegistration
An abstract base class for configuring STOMP over WebSocket/SockJS endpoints.
|
Modifier and Type | Method and Description |
---|---|
StompWebSocketEndpointRegistration |
WebMvcStompEndpointRegistry.addEndpoint(String... paths) |
StompWebSocketEndpointRegistration |
StompEndpointRegistry.addEndpoint(String... paths)
Register a STOMP over WebSocket endpoint at the given mapping path.
|
StompWebSocketEndpointRegistration |
StompWebSocketEndpointRegistration.addInterceptors(HandshakeInterceptor... interceptors)
Configure the HandshakeInterceptor's to use.
|
StompWebSocketEndpointRegistration |
WebMvcStompWebSocketEndpointRegistration.addInterceptors(HandshakeInterceptor... interceptors) |
StompWebSocketEndpointRegistration |
StompWebSocketEndpointRegistration.setAllowedOriginPatterns(String... originPatterns)
Alternative to
setAllowedOrigins(String...) that supports more
flexible patterns for specifying the origins for which cross-origin
requests are allowed from a browser. |
StompWebSocketEndpointRegistration |
WebMvcStompWebSocketEndpointRegistration.setAllowedOriginPatterns(String... allowedOriginPatterns) |
StompWebSocketEndpointRegistration |
StompWebSocketEndpointRegistration.setAllowedOrigins(String... origins)
Set the origins for which cross-origin requests are allowed from a browser.
|
StompWebSocketEndpointRegistration |
WebMvcStompWebSocketEndpointRegistration.setAllowedOrigins(String... allowedOrigins) |
StompWebSocketEndpointRegistration |
StompWebSocketEndpointRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler)
Configure the HandshakeHandler to use.
|
StompWebSocketEndpointRegistration |
WebMvcStompWebSocketEndpointRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler) |