类org.springframework.web.socket.messaging.StompSubProtocolErrorHandler源码实例Demo

下面列出了怎么用org.springframework.web.socket.messaging.StompSubProtocolErrorHandler的API类实例代码及写法,或者点击链接到github查看源代码。

@Override
public WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler) {
	this.stompHandler.setErrorHandler(errorHandler);
	return this;
}
 
@Override
public WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler) {
	this.stompHandler.setErrorHandler(errorHandler);
	return this;
}
 
@Override
public WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler) {
	this.stompHandler.setErrorHandler(errorHandler);
	return this;
}
 
@Override
public WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler) {
	return this.registry.setErrorHandler(errorHandler);
}
 
/**
 * Configure a handler for customizing or handling STOMP ERROR frames to clients.
 * @param errorHandler the error handler
 * @since 4.2
 */
WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler);
 
/**
 * Configure a handler for customizing or handling STOMP ERROR frames to clients.
 * @param errorHandler the error handler
 * @since 4.2
 */
WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler);
 
/**
 * Configure a handler for customizing or handling STOMP ERROR frames to clients.
 * @param errorHandler the error handler
 * @since 4.2
 */
WebMvcStompEndpointRegistry setErrorHandler(StompSubProtocolErrorHandler errorHandler);
 
 类方法
 同包方法