Polishing contribution

Closes gh-34942
This commit is contained in:
rstoyanchev
2025-06-04 13:17:52 +01:00
parent f9fa7cc93b
commit 230540b6da
34 changed files with 71 additions and 77 deletions

View File

@@ -68,7 +68,7 @@ public interface HandlerMapping {
* {@link org.springframework.web.util.UrlPathHelper} could be the full path
* or without the context path, decoded or not, etc.
* @since 5.2
* @deprecated as of 5.3 in favor of
* @deprecated in favor of
* {@link org.springframework.web.util.UrlPathHelper#PATH_ATTRIBUTE} and
* {@link org.springframework.web.util.ServletRequestPathUtils#PATH_ATTRIBUTE}.
* To access the cached path used for request mapping, use

View File

@@ -108,7 +108,7 @@ public class WebContentInterceptor extends WebContentGenerator implements Handle
* Shortcut to the
* {@link org.springframework.web.util.UrlPathHelper#setAlwaysUseFullPath
* same property} on the configured {@code UrlPathHelper}.
* @deprecated as of 5.3, the path is resolved externally and obtained with
* @deprecated the path is resolved externally and obtained with
* {@link ServletRequestPathUtils#getCachedPathValue(ServletRequest)}
*/
@Deprecated(since = "5.3")
@@ -119,7 +119,7 @@ public class WebContentInterceptor extends WebContentGenerator implements Handle
* Shortcut to the
* {@link org.springframework.web.util.UrlPathHelper#setUrlDecode
* same property} on the configured {@code UrlPathHelper}.
* @deprecated as of 5.3, the path is resolved externally and obtained with
* @deprecated the path is resolved externally and obtained with
* {@link ServletRequestPathUtils#getCachedPathValue(ServletRequest)}
*/
@Deprecated(since = "5.3")
@@ -128,7 +128,7 @@ public class WebContentInterceptor extends WebContentGenerator implements Handle
/**
* Set the UrlPathHelper to use for resolution of lookup paths.
* @deprecated as of 5.3, the path is resolved externally and obtained with
* @deprecated the path is resolved externally and obtained with
* {@link ServletRequestPathUtils#getCachedPathValue(ServletRequest)}
*/
@Deprecated(since = "5.3")

View File

@@ -113,8 +113,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
/**
* Full constructor with a mapping name.
* @deprecated as of 5.3 in favor using {@link RequestMappingInfo.Builder} via
* {@link #paths(String...)}.
* @deprecated in favor using {@link RequestMappingInfo.Builder} via {@link #paths(String...)}.
*/
@SuppressWarnings("removal")
@Deprecated(since = "5.3")
@@ -138,7 +137,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
/**
* Create an instance with the given conditions.
* @deprecated as of 5.3 in favor using {@link RequestMappingInfo.Builder} via
* @deprecated in favor using {@link RequestMappingInfo.Builder} via
* {@link #paths(String...)}.
*/
@SuppressWarnings("removal")
@@ -983,7 +982,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
* Set a custom UrlPathHelper to use for the PatternsRequestCondition.
* <p>By default this is not set.
* @since 4.2.8
* @deprecated as of 5.3, the path is resolved externally and obtained with
* @deprecated the path is resolved externally and obtained with
* {@link ServletRequestPathUtils#getCachedPathValue(ServletRequest)}
*/
@Deprecated(since = "5.3")
@@ -992,7 +991,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
/**
* Return the configured UrlPathHelper.
* @deprecated as of 5.3, the path is resolved externally and obtained with
* @deprecated the path is resolved externally and obtained with
* {@link ServletRequestPathUtils#getCachedPathValue(ServletRequest)};
* this method always returns {@link UrlPathHelper#defaultInstance}.
*/