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