public interface WebSocketHandlerDecoratorFactory
Decoration should be done through sub-classing
WebSocketHandlerDecorator
to allow any code to traverse decorators and/or
unwrap the original handler when necessary .
Modifier and Type | Method and Description |
---|---|
WebSocketHandler |
decorate(WebSocketHandler handler)
Decorate the given WebSocketHandler.
|
WebSocketHandler decorate(WebSocketHandler handler)
handler
- the handler to be decorated.WebSocketHandlerDecorator
.