Polishing

This commit is contained in:
Sam Brannen
2020-08-11 16:42:18 +02:00
parent 6a2939a4d4
commit 596936f18c
6 changed files with 14 additions and 24 deletions

View File

@@ -27,7 +27,7 @@ import org.springframework.web.util.pattern.PathPatternParser;
/**
* Implementation of {@link RouterFunctions.Visitor} that changes the
* {@link PathPatternParser} on path-related request predicates
* (i.e. {@code RequestPredicates.PathPatternPredicate}.
* (i.e. {@link RequestPredicates.PathPatternPredicate}).
*
* @author Arjen Poutsma
* @since 5.3

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -108,14 +108,14 @@ public interface WebSocketHandler {
* Invoked when a new WebSocket connection is established, and allows
* handling of the session.
*
* <p>See the class-level doc and the reference for more details and
* <p>See the class-level doc and the reference manual for more details and
* examples of how to handle the session.
*
* @param session the session to handle
* @return indicates when appilcation handling of the session is complete,
* @return indicates when application handling of the session is complete,
* which should reflect the completion of the inbound message stream
* (i.e. connection closing) and possibly the completion of the outbound
* message stream and the writing of messages.
* message stream and the writing of messages
*/
Mono<Void> handle(WebSocketSession session);