public interface StompEndpointRegistry
| Modifier and Type | Method and Description |
|---|---|
StompWebSocketEndpointRegistration |
addEndpoint(String... paths)
Register a STOMP over WebSocket endpoint at the given mapping path.
|
WebMvcStompEndpointRegistry |
setErrorHandler(StompSubProtocolErrorHandler errorHandler)
Configure a handler for customizing or handling STOMP ERROR frames to clients.
|
void |
setOrder(int order)
Set the order of the
HandlerMapping
used for STOMP endpoints relative to other Spring MVC handler mappings. |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
Configure a customized
UrlPathHelper for the STOMP endpoint
HandlerMapping. |
StompWebSocketEndpointRegistration addEndpoint(String... paths)
void setOrder(int order)
HandlerMapping
used for STOMP endpoints relative to other Spring MVC handler mappings.
By default this is set to 1.
void setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
UrlPathHelper for the STOMP endpoint
HandlerMapping.WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler)
errorHandler - the error handler