接口的使用
org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory
使用WebSocketHandlerDecoratorFactory的程序包 程序包 说明 org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.config.annotation中WebSocketHandlerDecoratorFactory的使用
返回变量类型为WebSocketHandlerDecoratorFactory的类型的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected List<WebSocketHandlerDecoratorFactory>
WebSocketTransportRegistration. getDecoratorFactories()
参数类型为WebSocketHandlerDecoratorFactory的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 WebSocketTransportRegistration
WebSocketTransportRegistration. addDecoratorFactory(WebSocketHandlerDecoratorFactory factory)
Add a factory that to decorate the handler used to process WebSocket messages.WebSocketTransportRegistration
WebSocketTransportRegistration. setDecoratorFactories(WebSocketHandlerDecoratorFactory... factories)
Configure one or more factories to decorate the handler used to process WebSocket messages.