Class ExceptionWebSocketHandlerDecorator

java.lang.Object
org.springframework.web.socket.handler.WebSocketHandlerDecorator
org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
All Implemented Interfaces:
WebSocketHandler

public class ExceptionWebSocketHandlerDecorator extends WebSocketHandlerDecorator
An exception handling WebSocketHandlerDecorator. Traps all Throwable instances that escape from the decorated handler and closes the session with CloseStatus.SERVER_ERROR.
Since:
4.0
Author:
Rossen Stoyanchev