Top Description Methods
org.springframework.web.socket.handler

public Interface WebSocketHandlerDecoratorFactory

Imports
org.springframework.web.socket.WebSocketHandler

A factory for applying decorators to a WebSocketHandler.

Decoration should be done through sub-classing WebSocketHandlerDecorator to allow any code to traverse decorators and/or unwrap the original handler when necessary.

Author
Rossen Stoyanchev
Since
4.1.2

Method Summary

Modifier and TypeMethod and Description
public WebSocketHandler

Returns:

the same handler or the handler wrapped with a subclass of WebSocketHandlerDecorator
decorate
(WebSocketHandler
the handler to be decorated.
handler
)

Decorate the given WebSocketHandler.

Method Detail

decorateback to summary
public WebSocketHandler decorate(WebSocketHandler handler)

Decorate the given WebSocketHandler.

Parameters
handler:WebSocketHandler

the handler to be decorated.

Returns:WebSocketHandler

the same handler or the handler wrapped with a subclass of WebSocketHandlerDecorator