Update Javadoc to stop mentioning 5.3.x as the status quo
Closes gh-34740
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -56,7 +56,7 @@ import org.springframework.web.accept.ParameterContentNegotiationStrategy;
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td>{@link #favorPathExtension}</td>
|
||||
* <td>false (as of 5.3)</td>
|
||||
* <td>false</td>
|
||||
* <td>{@link org.springframework.web.accept.PathExtensionContentNegotiationStrategy
|
||||
* PathExtensionContentNegotiationStrategy}</td>
|
||||
* <td>Off</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -146,9 +146,7 @@ public class PathMatchConfigurer {
|
||||
* <p>By default this is set to {@code false}.
|
||||
* @deprecated as of 5.2.4. See class-level note in
|
||||
* {@link RequestMappingHandlerMapping} on the deprecation of path extension
|
||||
* config options. As there is no replacement for this method, in 5.2.x it is
|
||||
* necessary to set it to {@code false}. In 5.3 the default changes to
|
||||
* {@code false} and use of this property becomes unnecessary.
|
||||
* config options.
|
||||
*/
|
||||
@Deprecated
|
||||
public PathMatchConfigurer setUseSuffixPatternMatch(@Nullable Boolean suffixPatternMatch) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -89,10 +89,10 @@ public class PatternsRequestCondition extends AbstractRequestCondition<PatternsR
|
||||
|
||||
/**
|
||||
* Variant of {@link #PatternsRequestCondition(String...)} with a
|
||||
* {@link UrlPathHelper} and a {@link PathMatcher}, and whether to match
|
||||
* trailing slashes.
|
||||
* <p>As of 5.3 the path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath} and a {@code UrlPathHelper}
|
||||
* {@link UrlPathHelper}, a {@link PathMatcher}, and a flag to indicate
|
||||
* whether to match trailing slashes.
|
||||
* <p>The path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath}, and a {@code UrlPathHelper}
|
||||
* does not need to be passed in.
|
||||
* @since 5.2.4
|
||||
* @deprecated as of 5.3 in favor of
|
||||
@@ -107,10 +107,10 @@ public class PatternsRequestCondition extends AbstractRequestCondition<PatternsR
|
||||
|
||||
/**
|
||||
* Variant of {@link #PatternsRequestCondition(String...)} with a
|
||||
* {@link UrlPathHelper} and a {@link PathMatcher}, and flags for matching
|
||||
* {@link UrlPathHelper}, a {@link PathMatcher}, and flags for matching
|
||||
* with suffixes and trailing slashes.
|
||||
* <p>As of 5.3 the path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath} and a {@code UrlPathHelper}
|
||||
* <p>The path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath}, and a {@code UrlPathHelper}
|
||||
* does not need to be passed in.
|
||||
* @deprecated as of 5.2.4. See class-level note in
|
||||
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping}
|
||||
@@ -125,10 +125,10 @@ public class PatternsRequestCondition extends AbstractRequestCondition<PatternsR
|
||||
|
||||
/**
|
||||
* Variant of {@link #PatternsRequestCondition(String...)} with a
|
||||
* {@link UrlPathHelper} and a {@link PathMatcher}, and flags for matching
|
||||
* {@link UrlPathHelper}, a {@link PathMatcher}, and flags for matching
|
||||
* with suffixes and trailing slashes, along with specific extensions.
|
||||
* <p>As of 5.3 the path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath} and a {@code UrlPathHelper}
|
||||
* <p>The path is obtained through the static method
|
||||
* {@link UrlPathHelper#getResolvedLookupPath}, and a {@code UrlPathHelper}
|
||||
* does not need to be passed in.
|
||||
* @deprecated as of 5.2.4. See class-level note in
|
||||
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -123,10 +123,8 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi
|
||||
* more fine-grained control over specific suffixes to allow.
|
||||
* <p><strong>Note:</strong> This property is ignored when
|
||||
* {@link #setPatternParser(PathPatternParser)} is configured.
|
||||
* @deprecated as of 5.2.4. See class level note on the deprecation of
|
||||
* path extension config options. As there is no replacement for this method,
|
||||
* in 5.2.x it is necessary to set it to {@code false}. In 5.3 the default
|
||||
* changes to {@code false} and use of this property becomes unnecessary.
|
||||
* @deprecated as of 5.2.4. See class-level note on the deprecation of
|
||||
* path extension config options.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setUseSuffixPatternMatch(boolean useSuffixPatternMatch) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
* Copyright 2002-2025 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.
|
||||
@@ -193,8 +193,8 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
|
||||
* {@code Resource} locations provided via {@link #setLocations(List) setLocations}.
|
||||
* <p>Note that the returned list is fully initialized only after
|
||||
* initialization via {@link #afterPropertiesSet()}.
|
||||
* <p><strong>Note:</strong> As of 5.3.11 the list of locations may be filtered to
|
||||
* exclude those that don't actually exist and therefore the list returned from this
|
||||
* <p><strong>Note:</strong> The list of locations may be filtered to exclude
|
||||
* those that don't actually exist, and therefore the list returned from this
|
||||
* method may be a subset of all given locations. See {@link #setOptimizeLocations}.
|
||||
* @see #setLocationValues
|
||||
* @see #setLocations
|
||||
|
||||
Reference in New Issue
Block a user