Package | Description |
---|---|
org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
org.springframework.util |
Miscellaneous utility classes, such as String manipulation utilities,
a Log4J configurer, and a state holder for paged lists of objects.
|
org.springframework.web.servlet |
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.mvc |
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
|
org.springframework.web.servlet.mvc.annotation |
Support package for annotation-based Servlet MVC controllers.
|
org.springframework.web.servlet.mvc.condition |
Common MVC logic for matching incoming requests based on conditions.
|
org.springframework.web.servlet.mvc.multiaction |
Package allowing MVC Controller implementations to handle requests
at method rather than class level.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
PathMatchingResourcePatternResolver.getPathMatcher()
Return the PathMatcher that this resource pattern resolver uses.
|
Modifier and Type | Method and Description |
---|---|
void |
PathMatchingResourcePatternResolver.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for this
resource pattern resolver.
|
Modifier and Type | Class and Description |
---|---|
class |
AntPathMatcher
PathMatcher implementation for Ant-style path patterns.
|
Modifier and Type | Method and Description |
---|---|
protected PathMatcher |
ResourceServlet.getPathMatcher()
Return a PathMatcher to use for matching the "allowedResources" URL pattern.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
AbstractHandlerMapping.getPathMatcher()
Return the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MappedInterceptor.matches(String lookupPath,
PathMatcher pathMatcher)
Returns
true if the interceptor applies to the given request path. |
void |
AbstractHandlerMapping.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Modifier and Type | Method and Description |
---|---|
void |
WebContentInterceptor.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns, for determining cache mappings.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationMethodHandlerAdapter.setPathMatcher(PathMatcher pathMatcher)
Deprecated.
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.
|
Constructor and Description |
---|
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch)
Additional constructor with flags for using suffix pattern (.*) and
trailing slash matches.
|
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch,
List<String> fileExtensions)
Creates a new instance with the given URL patterns.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesMethodNameResolver.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Copyright © 2015. All rights reserved.