org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter Java Examples
The following examples show how to use
org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ServiceInstanceLogStreamAutoConfigurationTest.java From spring-cloud-app-broker with Apache License 2.0 | 5 votes |
@Test void servicesAreCreatedWithLoggingConfigured() { contextRunner .withUserConfiguration(LoggingConfiguration.class) .run(context -> assertThat(context) .hasSingleBean(StreamingLogWebSocketHandler.class) .hasSingleBean(WebSocketHandlerAdapter.class) .hasSingleBean(HandlerMapping.class) .hasSingleBean(LogStreamPublisher.class) .hasSingleBean(ApplicationLogStreamPublisher.class)); }
Example #2
Source File: ServiceInstanceLogStreamAutoConfigurationTest.java From spring-cloud-app-broker with Apache License 2.0 | 5 votes |
@Test void servicesAreNotCreatedWithoutRequiredBeansOnClasspath() { contextRunner .run(context -> assertThat(context) .doesNotHaveBean(StreamingLogWebSocketHandler.class) .doesNotHaveBean(WebSocketHandlerAdapter.class) .doesNotHaveBean(HandlerMapping.class) .doesNotHaveBean(LogStreamPublisher.class) .doesNotHaveBean(ApplicationLogStreamPublisher.class)); }
Example #3
Source File: ServiceInstanceLogStreamAutoConfigurationTest.java From spring-cloud-app-broker with Apache License 2.0 | 5 votes |
@Test void servicesAreNotCreatedWithoutLoggingOnClasspath() { contextRunner .withClassLoader(new FilteredClassLoader(ApplicationLogStreamPublisher.class)) .withUserConfiguration(LoggingConfiguration.class) .run(context -> assertThat(context) .doesNotHaveBean(StreamingLogWebSocketHandler.class) .doesNotHaveBean(WebSocketHandlerAdapter.class) .doesNotHaveBean(HandlerMapping.class) .doesNotHaveBean(LogStreamPublisher.class) .doesNotHaveBean(ApplicationLogStreamPublisher.class)); }
Example #4
Source File: ReactiveChatSocketConfig.java From Spring-5.0-Cookbook with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #5
Source File: WebSocketConfig.java From Learning-Spring-Boot-2.0-Second-Edition with MIT License | 4 votes |
@Bean WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #6
Source File: WebSocketConfig.java From Learning-Spring-Boot-2.0-Second-Edition with MIT License | 4 votes |
@Bean WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #7
Source File: WebSocketConfig.java From Learning-Spring-Boot-2.0-Second-Edition with MIT License | 4 votes |
@Bean WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #8
Source File: ReservationServiceApplication.java From bootiful-reactive-microservices with Apache License 2.0 | 4 votes |
@Bean WebSocketHandlerAdapter wsha() { return new WebSocketHandlerAdapter(); }
Example #9
Source File: ReservationServiceApplication.java From bootiful-reactive-microservices with Apache License 2.0 | 4 votes |
@Bean WebSocketHandlerAdapter webSocketHandlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #10
Source File: WebSocketConfig.java From Learning-Spring-Boot-2.0-Second-Edition with MIT License | 4 votes |
@Bean WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #11
Source File: WebConfig.java From spring-reactive-sample with GNU General Public License v3.0 | 4 votes |
@Bean WebSocketHandlerAdapter webSocketHandlerAdapter(){ return new WebSocketHandlerAdapter(); }
Example #12
Source File: WebSocketConfiguration.java From springboot-learning-example with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #13
Source File: WebSocketConfiguration.java From tools-journey with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #14
Source File: WebSocketIntegrationTests.java From spring-cloud-gateway with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #15
Source File: Application.java From spring-reactive-playground with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #16
Source File: EmployeeConfig.java From tutorials with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #17
Source File: ReactiveWebSocketConfiguration.java From tutorials with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #18
Source File: WebSocketConfig.java From Learning-Spring-Boot-2.0-Second-Edition with MIT License | 4 votes |
@Bean WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #19
Source File: AbstractWebSocketIntegrationTests.java From spring-analysis-note with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #20
Source File: ServiceInstanceLogStreamAutoConfiguration.java From spring-cloud-app-broker with Apache License 2.0 | 4 votes |
@Bean @ConditionalOnMissingBean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #21
Source File: WebSocketConfiguration.java From reactor-workshop with GNU General Public License v3.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #22
Source File: SpringWebFluxDemoApplication.java From Spring-5.0-Projects with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #23
Source File: WebSocketConfiguration.java From Hands-On-Reactive-Programming-in-Spring-5 with MIT License | 4 votes |
@Bean public HandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #24
Source File: ServerConfiguration.java From sample-webflux-websocket-netty with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #25
Source File: WebSocketRouter.java From webFluxTemplate with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #26
Source File: ReactiveWebSocketConfig.java From spring-redis-websocket with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #27
Source File: ServerAutoConfiguration.java From vertx-spring-boot with Apache License 2.0 | 4 votes |
@Bean public WebSocketHandlerAdapter webSocketHandlerAdapter(WebSocketService webSocketService) { return new WebSocketHandlerAdapter(webSocketService); }
Example #28
Source File: AbstractWebSocketIntegrationTests.java From java-technology-stack with MIT License | 4 votes |
@Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(webSocketService()); }
Example #29
Source File: WebSocketMessagingHandlerConfiguration.java From jetlinks-community with Apache License 2.0 | 4 votes |
@Bean @ConditionalOnMissingBean public WebSocketHandlerAdapter webSocketHandlerAdapter() { return new WebSocketHandlerAdapter(); }
Example #30
Source File: WebSocketConfiguration.java From soul with Apache License 2.0 | 2 votes |
/** * Handler adapter web socket handler adapter. * * @return the web socket handler adapter */ @Bean public WebSocketHandlerAdapter handlerAdapter() { return new WebSocketHandlerAdapter(); }