Small typo fixes in WebSocketHandler doc

master
xiexed 6 years ago committed by Rossen Stoyanchev
parent 931581a1e0
commit d5df097e0e
  1. 4
      spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketHandler.java

@ -44,7 +44,7 @@ import reactor.core.publisher.Mono;
* @Override * @Override
* public Mono<Void> handle(WebSocketSession session) { * public Mono<Void> handle(WebSocketSession session) {
* *
* Flux<WebSocketMessage> input = session.receive() * Flux<WebSocketMessage> output = session.receive()
* .doOnNext(message -> { * .doOnNext(message -> {
* // ... * // ...
* }) * })
@ -89,7 +89,7 @@ import reactor.core.publisher.Mono;
* completion of that flow. That means there is no need to check if the * completion of that flow. That means there is no need to check if the
* connection is open, since Reactive Streams signals will terminate activity. * connection is open, since Reactive Streams signals will terminate activity.
* The inbound stream receives a completion/error signal, and the outbound * The inbound stream receives a completion/error signal, and the outbound
* stream receives receives a cancellation signal. * stream receives a cancellation signal.
* *
* @author Rossen Stoyanchev * @author Rossen Stoyanchev
* @since 5.0 * @since 5.0

Loading…
Cancel
Save