Package | Description |
---|---|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.socket.messaging |
WebSocket integration for Spring's messaging module.
|
Modifier and Type | Method and Description |
---|---|
WebMvcStompEndpointRegistry |
StompEndpointRegistry.setErrorHandler(StompSubProtocolErrorHandler errorHandler)
Configure a handler for customizing or handling STOMP ERROR frames to clients.
|
WebMvcStompEndpointRegistry |
WebMvcStompEndpointRegistry.setErrorHandler(StompSubProtocolErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
StompSubProtocolErrorHandler |
StompSubProtocolHandler.getErrorHandler()
Return the configured error handler.
|
Modifier and Type | Method and Description |
---|---|
void |
StompSubProtocolHandler.setErrorHandler(StompSubProtocolErrorHandler errorHandler)
Configure a handler for error messages sent to clients which allows
customizing the error messages or preventing them from being sent.
|