@ -435,17 +437,29 @@ public class WebFluxConfigurationSupport implements ApplicationContextAware {
@@ -435,17 +437,29 @@ public class WebFluxConfigurationSupport implements ApplicationContextAware {
// For backwards compatibility, lower the (default) priority
// Lower the (default) priority for now, for backwards compatibility
intdefaultOrder=adapter.getOrder();
adapter.setOrder(defaultOrder+1);
returnadapter;
}
privateWebSocketServiceinitWebSocketService(){
WebSocketServiceservice=getWebSocketService();
if(service==null){
try{
service=newHandshakeWebSocketService();
}
catch(IllegalStateExceptionex){
// Don't fail, test environment perhaps
service=newNoUpgradeStrategyWebSocketService();
}
}
returnservice;
}
@Nullable
protectedWebSocketServicegetWebSocketService(){
returnnull;
@ -535,4 +549,13 @@ public class WebFluxConfigurationSupport implements ApplicationContextAware {
@@ -535,4 +549,13 @@ public class WebFluxConfigurationSupport implements ApplicationContextAware {