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