mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 05:49:04 +00:00
Consistently refer to URLs and URIs in documentation
This commit is contained in:
@@ -126,7 +126,7 @@ public final class UrlHandlerFilter extends OncePerRequestFilter {
|
||||
public interface Builder {
|
||||
|
||||
/**
|
||||
* Add a handler for URL's with a trailing slash.
|
||||
* Add a handler for URLs with a trailing slash.
|
||||
* @param pathPatterns path patterns to map the handler to, for example,
|
||||
* <code>"/path/*"</code>, <code>"/path/**"</code>,
|
||||
* <code>"/path/foo/"</code>.
|
||||
|
||||
+1
-1
@@ -117,7 +117,7 @@ public final class UrlHandlerFilter implements WebFilter {
|
||||
public interface Builder {
|
||||
|
||||
/**
|
||||
* Add a handler for URL's with a trailing slash.
|
||||
* Add a handler for URLs with a trailing slash.
|
||||
* @param pathPatterns path patterns to map the handler to, e.g.
|
||||
* <code>"/path/*"</code>, <code>"/path/**"</code>,
|
||||
* <code>"/path/foo/"</code>.
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.core.log.LogDelegateFactory;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Parser for URI's based on RFC 3986 syntax.
|
||||
* Parser for URIs based on RFC 3986 syntax.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 6.2
|
||||
|
||||
@@ -57,7 +57,7 @@ import org.springframework.web.util.UriComponents.UriTemplateVariables;
|
||||
* {@link ParserType#WHAT_WG WhatWG parser type}, based on the algorithm from
|
||||
* the WhatWG <a href="https://url.spec.whatwg.org">URL Living Standard</a>
|
||||
* provides more lenient handling of a wide range of cases that occur in user
|
||||
* types URL's.
|
||||
* types URLs.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @author Rossen Stoyanchev
|
||||
@@ -732,7 +732,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
|
||||
public enum ParserType {
|
||||
|
||||
/**
|
||||
* This parser type expects URI's to conform to RFC 3986 syntax.
|
||||
* This parser type expects URIs to conform to RFC 3986 syntax.
|
||||
*/
|
||||
RFC,
|
||||
|
||||
@@ -740,7 +740,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
|
||||
* This parser follows the
|
||||
* <a href="https://url.spec.whatwg.org/#url-parsing">URL parsing algorithm</a>
|
||||
* in the WhatWG URL Living standard that browsers implement to align on
|
||||
* lenient handling of user typed URL's that may not conform to RFC syntax.
|
||||
* lenient handling of user typed URLs that may not conform to RFC syntax.
|
||||
* @see <a href="https://url.spec.whatwg.org">URL Living Standard</a>
|
||||
* @see <a href="https://github.com/web-platform-tests/wpt/tree/master/url">URL tests</a>
|
||||
*/
|
||||
|
||||
@@ -39,9 +39,9 @@ import org.springframework.util.Assert;
|
||||
* Implementation of the
|
||||
* <a href="https://url.spec.whatwg.org/#url-parsing">URL parsing</a> algorithm
|
||||
* of the WhatWG URL Living standard. Browsers use this algorithm to align on
|
||||
* lenient parsing of user typed URL's that may deviate from RFC syntax.
|
||||
* lenient parsing of user typed URLs that may deviate from RFC syntax.
|
||||
* Use this, via {@link UriComponentsBuilder.ParserType#WHAT_WG}, if you need to
|
||||
* leniently handle URL's that don't confirm to RFC syntax, or for alignment
|
||||
* leniently handle URLs that don't confirm to RFC syntax, or for alignment
|
||||
* with browser behavior.
|
||||
*
|
||||
* <p>Comments in this class correlate to the parsing algorithm.
|
||||
|
||||
Reference in New Issue
Block a user