|
|
|
|
@ -69,7 +69,7 @@ public class RSocketServerAutoConfiguration {
@@ -69,7 +69,7 @@ public class RSocketServerAutoConfiguration {
|
|
|
|
|
RSocketWebSocketNettyRouteProvider rSocketWebsocketRouteProvider(RSocketProperties properties, |
|
|
|
|
RSocketMessageHandler messageHandler) { |
|
|
|
|
return new RSocketWebSocketNettyRouteProvider(properties.getServer().getMappingPath(), |
|
|
|
|
messageHandler.serverAcceptor()); |
|
|
|
|
messageHandler.serverResponder()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
@ -101,7 +101,7 @@ public class RSocketServerAutoConfiguration {
@@ -101,7 +101,7 @@ public class RSocketServerAutoConfiguration {
|
|
|
|
|
@ConditionalOnMissingBean |
|
|
|
|
RSocketServerBootstrap rSocketServerBootstrap(RSocketServerFactory rSocketServerFactory, |
|
|
|
|
RSocketMessageHandler rSocketMessageHandler) { |
|
|
|
|
return new RSocketServerBootstrap(rSocketServerFactory, rSocketMessageHandler.serverAcceptor()); |
|
|
|
|
return new RSocketServerBootstrap(rSocketServerFactory, rSocketMessageHandler.serverResponder()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|