Polish CORS documentation

This commit is contained in:
sdeleuze
2017-11-15 16:16:13 +01:00
parent 38040bf3f2
commit 9dd29f76ae
2 changed files with 25 additions and 12 deletions

View File

@@ -151,8 +151,7 @@ public abstract class AbstractHandlerMapping extends ApplicationObjectSupport im
* <p>On CORS pre-flight requests this method should return a match not for
* the pre-flight request but for the expected actual request based on the URL
* path, the HTTP methods from the "Access-Control-Request-Method" header, and
* the headers from the "Access-Control-Request-Headers" header thus allowing
* the CORS configuration to be obtained via {@link #getCorsConfigurations},
* the headers from the "Access-Control-Request-Headers" header.
* @param exchange current exchange
* @return {@code Mono} for the matching handler, if any
*/