Uses of Interface
org.springframework.util.PathMatcher
Packages that use PathMatcher Package Description org.springframework.core.io.support Support classes for Spring's resource abstraction.org.springframework.messaging.handler Basic abstractions for working with message handler methods.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.broker Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e.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.cors Support for CORS (Cross-Origin Resource Sharing), based on a commonCorsProcessor
strategy.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.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.condition Common MVC logic for matching incoming requests based on conditions.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.org.springframework.web.servlet.resource Support classes for serving static resources.Uses of PathMatcher in org.springframework.core.io.support
Methods in org.springframework.core.io.support that return PathMatcher Modifier and Type Method Description PathMatcher
PathMatchingResourcePatternResolver. getPathMatcher()
Return the PathMatcher that this resource pattern resolver uses.Methods in org.springframework.core.io.support with parameters of type PathMatcher Modifier and Type Method Description void
PathMatchingResourcePatternResolver. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for this resource pattern resolver.Uses of PathMatcher in org.springframework.messaging.handler
Constructors in org.springframework.messaging.handler with parameters of type PathMatcher Constructor Description DestinationPatternsMessageCondition(String[] patterns, PathMatcher matcher)
Constructor with patterns and aPathMatcher
instance.Uses of PathMatcher in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support that return PathMatcher Modifier and Type Method Description PathMatcher
SimpAnnotationMethodMessageHandler. getPathMatcher()
Return the PathMatcher implementation to use for matching destinations.Methods in org.springframework.messaging.simp.annotation.support with parameters of type PathMatcher Modifier and Type Method Description void
SimpAnnotationMethodMessageHandler. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching destinations against configured destination patterns.Uses of PathMatcher in org.springframework.messaging.simp.broker
Methods in org.springframework.messaging.simp.broker that return PathMatcher Modifier and Type Method Description PathMatcher
DefaultSubscriptionRegistry. getPathMatcher()
Return the configuredPathMatcher
.Methods in org.springframework.messaging.simp.broker with parameters of type PathMatcher Modifier and Type Method Description void
DefaultSubscriptionRegistry. setPathMatcher(PathMatcher pathMatcher)
Specify thePathMatcher
to use.void
SimpleBrokerMessageHandler. setPathMatcher(PathMatcher pathMatcher)
When configured, the given PathMatcher is passed down to the underlying SubscriptionRegistry to use for matching destination to subscriptions.Uses of PathMatcher in org.springframework.messaging.simp.config
Methods in org.springframework.messaging.simp.config that return PathMatcher Modifier and Type Method Description PathMatcher
AbstractMessageBrokerConfiguration. getPathMatcher()
Provide access to the configured PatchMatcher for access from other configuration classes.protected PathMatcher
MessageBrokerRegistry. getPathMatcher()
Methods in org.springframework.messaging.simp.config with parameters of type PathMatcher Modifier and Type Method Description MessageBrokerRegistry
MessageBrokerRegistry. setPathMatcher(PathMatcher pathMatcher)
Configure the PathMatcher to use to match the destinations of incoming messages to@MessageMapping
and@SubscribeMapping
methods.Uses of PathMatcher in org.springframework.messaging.simp.user
Methods in org.springframework.messaging.simp.user with parameters of type PathMatcher Modifier and Type Method Description void
DefaultUserDestinationResolver. setPathMatcher(PathMatcher pathMatcher)
Deprecated.as of 4.3.14 this property is no longer used and is replaced byDefaultUserDestinationResolver.setRemoveLeadingSlash(boolean)
that indicates more explicitly whether to keep the leading slash which may or may not be the case regardless of how thePathMatcher
is configured.Uses of PathMatcher in org.springframework.util
Classes in org.springframework.util that implement PathMatcher Modifier and Type Class Description class
AntPathMatcher
PathMatcher
implementation for Ant-style path patterns.Methods in org.springframework.util that return PathMatcher Modifier and Type Method Description PathMatcher
SimpleRouteMatcher. getPathMatcher()
Return the underlyingPathMatcher
delegate.Constructors in org.springframework.util with parameters of type PathMatcher Constructor Description SimpleRouteMatcher(PathMatcher pathMatcher)
Create a newSimpleRouteMatcher
for the givenPathMatcher
delegate.Uses of PathMatcher in org.springframework.web.cors
Methods in org.springframework.web.cors with parameters of type PathMatcher Modifier and Type Method Description void
UrlBasedCorsConfigurationSource. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.Uses of PathMatcher in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return PathMatcher Modifier and Type Method Description PathMatcher
PathMatchConfigurer. getPathMatcher()
PathMatcher
WebMvcConfigurationSupport. mvcPathMatcher()
Return a globalPathMatcher
instance for path matching patterns inHandlerMappings
.Methods in org.springframework.web.servlet.config.annotation with parameters of type PathMatcher Modifier and Type Method Description InterceptorRegistration
InterceptorRegistration. pathMatcher(PathMatcher pathMatcher)
A PathMatcher implementation to use with this interceptor.HandlerMapping
WebMvcConfigurationSupport. resourceHandlerMapping(UrlPathHelper urlPathHelper, PathMatcher pathMatcher, ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.PathMatchConfigurer
PathMatchConfigurer. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.HandlerMapping
WebMvcConfigurationSupport. viewControllerHandlerMapping(PathMatcher pathMatcher, UrlPathHelper urlPathHelper, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at 1 to map URL paths directly to view names.Uses of PathMatcher in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler that return PathMatcher Modifier and Type Method Description PathMatcher
AbstractHandlerMapping. getPathMatcher()
Return the PathMatcher implementation to use for matching URL paths against registered URL patterns.PathMatcher
MappedInterceptor. getPathMatcher()
The configured PathMatcher, ornull
if none.Methods in org.springframework.web.servlet.handler with parameters of type PathMatcher Modifier and Type Method Description boolean
MappedInterceptor. matches(String lookupPath, PathMatcher pathMatcher)
Determine a match for the given lookup path.void
AbstractHandlerMapping. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.void
MappedInterceptor. setPathMatcher(PathMatcher pathMatcher)
Configure a PathMatcher to use with this MappedInterceptor instead of the one passed by default to theMappedInterceptor.matches(String, org.springframework.util.PathMatcher)
method.Constructors in org.springframework.web.servlet.handler with parameters of type PathMatcher Constructor Description RequestMatchResult(String matchingPattern, String lookupPath, PathMatcher pathMatcher)
Create an instance with a matching pattern.Uses of PathMatcher in org.springframework.web.servlet.mvc
Methods in org.springframework.web.servlet.mvc with parameters of type PathMatcher Modifier and Type Method Description void
WebContentInterceptor. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns, for determining cache mappings.Uses of PathMatcher in org.springframework.web.servlet.mvc.condition
Constructors in org.springframework.web.servlet.mvc.condition with parameters of type PathMatcher Constructor Description PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch)
Alternative constructor with additional, optionalUrlPathHelper
,PathMatcher
, and whether to automatically match trailing slashes.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch)
Deprecated.as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions)
Deprecated.as of 5.2.4.Uses of PathMatcher in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return PathMatcher Modifier and Type Method Description PathMatcher
RequestMappingInfo.BuilderConfiguration. getPathMatcher()
Return a custom PathMatcher to use for the PatternsRequestCondition, if any.Methods in org.springframework.web.servlet.mvc.method with parameters of type PathMatcher Modifier and Type Method Description void
RequestMappingInfo.BuilderConfiguration. setPathMatcher(PathMatcher pathMatcher)
Set a custom PathMatcher to use for the PatternsRequestCondition.Uses of PathMatcher in org.springframework.web.servlet.resource
Methods in org.springframework.web.servlet.resource that return PathMatcher Modifier and Type Method Description PathMatcher
ResourceUrlProvider. getPathMatcher()
Return the configuredPathMatcher
.Methods in org.springframework.web.servlet.resource with parameters of type PathMatcher Modifier and Type Method Description void
ResourceUrlProvider. setPathMatcher(PathMatcher pathMatcher)
Configure aPathMatcher
to use when comparing target lookup path against resource mappings.