类的使用
org.springframework.web.socket.messaging.StompSubProtocolErrorHandler
使用StompSubProtocolErrorHandler的程序包 程序包 说明 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.org.springframework.web.socket.config.annotation中StompSubProtocolErrorHandler的使用
参数类型为StompSubProtocolErrorHandler的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 WebMvcStompEndpointRegistry
StompEndpointRegistry. setErrorHandler(StompSubProtocolErrorHandler errorHandler)
Configure a handler for customizing or handling STOMP ERROR frames to clients.WebMvcStompEndpointRegistry
WebMvcStompEndpointRegistry. setErrorHandler(StompSubProtocolErrorHandler errorHandler)
org.springframework.web.socket.messaging中StompSubProtocolErrorHandler的使用
返回StompSubProtocolErrorHandler的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 StompSubProtocolErrorHandler
StompSubProtocolHandler. getErrorHandler()
Return the configured error handler.参数类型为StompSubProtocolErrorHandler的org.springframework.web.socket.messaging中的方法 修饰符和类型 方法 说明 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.