Class webSocketSessionDecorator

java.lang.Object
org.springframework.web.socket.handler.webSocketSessionDecorator
All Implemented Interfaces:
Closeable, AutoCloseable, webSocketSession
Direct Known Subclasses:
ConcurrentwebSocketSessionDecorator

public class webSocketSessionDecorator extends Object implements webSocketSession
Wraps another webSocketSession instance and delegates to it.

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

Since:
4.0.3
Author:
Rossen Stoyanchev