Interface StompEndpointRegistry
- All Known Implementing Classes:
- WebMvcStompEndpointRegistry
public interface StompEndpointRegistry
A contract for registering STOMP over WebSocket endpoints.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionaddEndpoint(String... paths) Register a STOMP over WebSocket endpoint at the given mapping path.setErrorHandler(StompSubProtocolErrorHandler errorHandler) Configure a handler for customizing or handling STOMP ERROR frames to clients.voidsetOrder(int order) Set the order of theHandlerMappingused for STOMP endpoints relative to other Spring MVC handler mappings.voidsetUrlPathHelper(UrlPathHelper urlPathHelper) Configure a customizedUrlPathHelperfor the STOMP endpointHandlerMapping.
- 
Method Details- 
addEndpointRegister a STOMP over WebSocket endpoint at the given mapping path.
- 
setOrdervoid setOrder(int order) Set the order of theHandlerMappingused for STOMP endpoints relative to other Spring MVC handler mappings.By default this is set to 1. 
- 
setUrlPathHelperConfigure a customizedUrlPathHelperfor the STOMP endpointHandlerMapping.
- 
setErrorHandlerConfigure a handler for customizing or handling STOMP ERROR frames to clients.- Parameters:
- errorHandler- the error handler
- Since:
- 4.2
 
 
-