Java 类org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:WebSocketMessagingAutoConfigurationTests.java   
@SuppressWarnings("unchecked")
private List<MessageConverter> getDefaultConverters() {
    CompositeMessageConverter compositeDefaultConverter = new DelegatingWebSocketMessageBrokerConfiguration()
            .brokerMessageConverter();
    return (List<MessageConverter>) ReflectionTestUtils
            .getField(compositeDefaultConverter, "converters");
}
项目:spring-boot-concourse    文件:WebSocketMessagingAutoConfigurationTests.java   
@SuppressWarnings("unchecked")
private List<MessageConverter> getDefaultConverters() {
    CompositeMessageConverter compositeDefaultConverter = new DelegatingWebSocketMessageBrokerConfiguration()
            .brokerMessageConverter();
    return (List<MessageConverter>) ReflectionTestUtils
            .getField(compositeDefaultConverter, "converters");
}