org.springframework.web.reactive.socket.server.support.HandshakeWebSocketService Java Examples

The following examples show how to use org.springframework.web.reactive.socket.server.support.HandshakeWebSocketService. 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: AbstractWebSocketIntegrationTests.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
	return new HandshakeWebSocketService(getUpgradeStrategy());
}
 
Example #2
Source File: AbstractWebSocketIntegrationTests.java    From java-technology-stack with MIT License 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
	return new HandshakeWebSocketService(getUpgradeStrategy());
}
 
Example #3
Source File: ServerAutoConfiguration.java    From vertx-spring-boot with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
    VertxRequestUpgradeStrategy requestUpgradeStrategy = new VertxRequestUpgradeStrategy();
    return new HandshakeWebSocketService(requestUpgradeStrategy);
}
 
Example #4
Source File: WebSocketRouter.java    From webFluxTemplate with MIT License 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
    return new HandshakeWebSocketService(new ReactorNettyRequestUpgradeStrategy());
}
 
Example #5
Source File: ReactiveChatSocketConfig.java    From Spring-5.0-Cookbook with MIT License 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
	return new HandshakeWebSocketService(new ReactorNettyRequestUpgradeStrategy());
}
 
Example #6
Source File: GatewayAutoConfiguration.java    From spring-cloud-gateway with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSocketService webSocketService(
		RequestUpgradeStrategy requestUpgradeStrategy) {
	return new HandshakeWebSocketService(requestUpgradeStrategy);
}
 
Example #7
Source File: WebSocketIntegrationTests.java    From spring-cloud-gateway with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
	return new HandshakeWebSocketService(getUpgradeStrategy());
}
 
Example #8
Source File: Application.java    From spring-reactive-playground with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSocketService webSocketService() {
	return new HandshakeWebSocketService(new ReactorNettyRequestUpgradeStrategy());
}
 
Example #9
Source File: DividePluginConfiguration.java    From soul with Apache License 2.0 2 votes vote down vote up
/**
 * Web socket service web socket service.
 *
 * @return the web socket service
 */
@Bean
public WebSocketService webSocketService() {
    return new HandshakeWebSocketService();
}