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 |
|---|---|
| public WebSocketHandler | Returns: the same handler or the handler wrapped with a subclass ofWebSocketHandlerDecoratorthe handler to be decorated. handler)Decorate the given WebSocketHandler. |
| decorate | back to summary |
|---|---|
| public WebSocketHandler decorate(WebSocketHandler handler) Decorate the given WebSocketHandler.
| |