Uses of Interface
org.springframework.util.PathMatcher
Packages that use PathMatcher
Package
Description
Support classes for Spring's resource abstraction.
Basic abstractions for working with message handler methods.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Configuration support for WebSocket messaging using higher level messaging protocols.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Annotation-based setup for Spring MVC.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.Support classes for serving static resources.
-
Uses of PathMatcher in org.springframework.core.io.support
Methods in org.springframework.core.io.support that return PathMatcherModifier and TypeMethodDescriptionPathMatchingResourcePatternResolver.getPathMatcher()
Return thePathMatcher
that this resource pattern resolver uses.Methods in org.springframework.core.io.support with parameters of type PathMatcherModifier and TypeMethodDescriptionvoid
PathMatchingResourcePatternResolver.setPathMatcher
(PathMatcher pathMatcher) Set thePathMatcher
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 PathMatcherModifierConstructorDescriptionDestinationPatternsMessageCondition
(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 PathMatcherModifier and TypeMethodDescriptionSimpAnnotationMethodMessageHandler.getPathMatcher()
Return the PathMatcher implementation to use for matching destinations.Methods in org.springframework.messaging.simp.annotation.support with parameters of type PathMatcherModifier and TypeMethodDescriptionvoid
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 PathMatcherModifier and TypeMethodDescriptionDefaultSubscriptionRegistry.getPathMatcher()
Return the configuredPathMatcher
.Methods in org.springframework.messaging.simp.broker with parameters of type PathMatcherModifier and TypeMethodDescriptionvoid
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 PathMatcherModifier and TypeMethodDescriptionfinal PathMatcher
AbstractMessageBrokerConfiguration.getPathMatcher
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) 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 PathMatcherModifier and TypeMethodDescriptionMessageBrokerRegistry.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.util
Classes in org.springframework.util that implement PathMatcherMethods in org.springframework.util that return PathMatcherModifier and TypeMethodDescriptionSimpleRouteMatcher.getPathMatcher()
Return the underlyingPathMatcher
delegate.Constructors in org.springframework.util with parameters of type PathMatcherModifierConstructorDescriptionSimpleRouteMatcher
(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 PathMatcherModifier and TypeMethodDescriptionvoid
UrlBasedCorsConfigurationSource.setPathMatcher
(PathMatcher pathMatcher) Configure aPathMatcher
to use for pattern matching. -
Uses of PathMatcher in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return PathMatcherModifier and TypeMethodDescriptionPathMatchConfigurer.getPathMatcher()
protected PathMatcher
PathMatchConfigurer.getPathMatcherOrDefault()
Return the configured PathMatcher or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcPathMatcher()
Return a globalPathMatcher
instance which is used for URL path matching with String patterns.Methods in org.springframework.web.servlet.config.annotation with parameters of type PathMatcherModifier and TypeMethodDescriptionInterceptorRegistration.pathMatcher
(PathMatcher pathMatcher) Configure the PathMatcher to use to match URL paths with against include and exclude patterns.PathMatchConfigurer.setPathMatcher
(PathMatcher pathMatcher) Set the PathMatcher to use for String pattern matching. -
Uses of PathMatcher in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler that return PathMatcherModifier and TypeMethodDescriptionAbstractHandlerMapping.getPathMatcher()
Return theconfigured
PathMatcher
.MappedInterceptor.getPathMatcher()
Get the configured PathMatcher.Methods in org.springframework.web.servlet.handler with parameters of type PathMatcherModifier and TypeMethodDescriptionboolean
MappedInterceptor.matches
(String lookupPath, PathMatcher pathMatcher) Deprecated.void
AbstractHandlerMapping.setPathMatcher
(PathMatcher pathMatcher) Configure the PathMatcher to use.void
MappedInterceptor.setPathMatcher
(PathMatcher pathMatcher) Configure the PathMatcher to use to match URL paths with against include and exclude patterns.Constructors in org.springframework.web.servlet.handler with parameters of type PathMatcherModifierConstructorDescriptionRequestMatchResult
(String pattern, String lookupPath, PathMatcher pathMatcher) Create an instance with the matched String pattern. -
Uses of PathMatcher in org.springframework.web.servlet.mvc
Methods in org.springframework.web.servlet.mvc with parameters of type PathMatcherModifier and TypeMethodDescriptionvoid
WebContentInterceptor.setPathMatcher
(PathMatcher pathMatcher) Configure the PathMatcher to use to match URL paths against registered URL patterns to select the cache settings for a request. -
Uses of PathMatcher in org.springframework.web.servlet.mvc.condition
Constructors in org.springframework.web.servlet.mvc.condition with parameters of type PathMatcherModifierConstructorDescriptionPatternsRequestCondition
(String[] patterns, boolean useTrailingSlashMatch, PathMatcher pathMatcher) Variant ofPatternsRequestCondition(String...)
with aPathMatcher
and flag for matching trailing slashes.PatternsRequestCondition
(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch) Deprecated.as of 5.3 in favor ofPatternsRequestCondition(String[], boolean, PathMatcher)
.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 PathMatcherModifier and TypeMethodDescriptionRequestMappingInfo.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 PathMatcherModifier and TypeMethodDescriptionvoid
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 PathMatcherModifier and TypeMethodDescriptionResourceUrlProvider.getPathMatcher()
Return the configuredPathMatcher
.Methods in org.springframework.web.servlet.resource with parameters of type PathMatcherModifier and TypeMethodDescriptionvoid
ResourceUrlProvider.setPathMatcher
(PathMatcher pathMatcher) Configure aPathMatcher
to use when comparing target lookup path against resource mappings.
MappedInterceptor.matches(HttpServletRequest)