接口 WebSocketHandlerDecoratorFactory
public interface WebSocketHandlerDecoratorFactory
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 .- 从以下版本开始:
- 4.1.2
- 作者:
- Rossen Stoyanchev
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 WebSocketHandler
decorate(WebSocketHandler handler)
Decorate the given WebSocketHandler.
方法详细资料
decorate
WebSocketHandler decorate(WebSocketHandler handler)
Decorate the given WebSocketHandler.- 参数:
handler
- the handler to be decorated.- 返回:
- the same handler or the handler wrapped with a sub-class of
WebSocketHandlerDecorator
.