public interface StompEndpointRegistry
Modifier and Type | Method and Description |
---|---|
StompWebSocketEndpointRegistration |
addEndpoint(java.lang.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(UrlPathHelper urlPathHelper)
Configure a customized
UrlPathHelper for the STOMP endpoint
HandlerMapping . |
StompWebSocketEndpointRegistration addEndpoint(java.lang.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(UrlPathHelper urlPathHelper)
UrlPathHelper
for the STOMP endpoint
HandlerMapping
.WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler)
errorHandler
- the error handler