Class WebSocketHandlerDecorator

java.lang.Object
org.springframework.web.socket.handler.WebSocketHandlerDecorator
All Implemented Interfaces:
WebSocketHandler
Direct Known Subclasses:
ExceptionWebSocketHandlerDecorator, LoggingWebSocketHandlerDecorator

public class WebSocketHandlerDecorator extends Object implements WebSocketHandler
Wraps another WebSocketHandler instance and delegates to it.

Also provides a getDelegate() method to return the decorated handler as well as a getLastHandler() method to go through all nested delegates and return the "last" handler.

Since:
4.0
Author:
Rossen Stoyanchev