|
|
|
@ -33,7 +33,6 @@ import org.springframework.util.AntPathMatcher; |
|
|
|
import org.springframework.util.PathMatcher; |
|
|
|
import org.springframework.util.PathMatcher; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
import org.springframework.web.servlet.HandlerMapping; |
|
|
|
import org.springframework.web.servlet.HandlerMapping; |
|
|
|
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; |
|
|
|
|
|
|
|
import org.springframework.web.util.UrlPathHelper; |
|
|
|
import org.springframework.web.util.UrlPathHelper; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
@ -91,8 +90,8 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat |
|
|
|
* @param useSuffixPatternMatch whether to enable matching by suffix (".*") |
|
|
|
* @param useSuffixPatternMatch whether to enable matching by suffix (".*") |
|
|
|
* @param useTrailingSlashMatch whether to match irrespective of a trailing slash |
|
|
|
* @param useTrailingSlashMatch whether to match irrespective of a trailing slash |
|
|
|
* @deprecated as of 5.2.4. See class-level note in |
|
|
|
* @deprecated as of 5.2.4. See class-level note in |
|
|
|
* {@link RequestMappingHandlerMapping} on the deprecation of path extension |
|
|
|
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping} |
|
|
|
* config options. |
|
|
|
* on the deprecation of path extension config options. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public PatternsRequestCondition(String[] patterns, @Nullable UrlPathHelper urlPathHelper, |
|
|
|
public PatternsRequestCondition(String[] patterns, @Nullable UrlPathHelper urlPathHelper, |
|
|
|
@ -110,8 +109,8 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat |
|
|
|
* @param useTrailingSlashMatch whether to match irrespective of a trailing slash |
|
|
|
* @param useTrailingSlashMatch whether to match irrespective of a trailing slash |
|
|
|
* @param fileExtensions a list of file extensions to consider for path matching |
|
|
|
* @param fileExtensions a list of file extensions to consider for path matching |
|
|
|
* @deprecated as of 5.2.4. See class-level note in |
|
|
|
* @deprecated as of 5.2.4. See class-level note in |
|
|
|
* {@link RequestMappingHandlerMapping} on the deprecation of path extension |
|
|
|
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping} |
|
|
|
* config options. |
|
|
|
* on the deprecation of path extension config options. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public PatternsRequestCondition(String[] patterns, @Nullable UrlPathHelper urlPathHelper, |
|
|
|
public PatternsRequestCondition(String[] patterns, @Nullable UrlPathHelper urlPathHelper, |
|
|
|
|