Uses of Interface
org.springframework.util.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
Modifier and TypeMethodDescriptionPathMatchingResourcePatternResolver.getPathMatcher()
Return thePathMatcher
that this resource pattern resolver uses.Modifier and TypeMethodDescriptionvoid
PathMatchingResourcePatternResolver.setPathMatcher
(PathMatcher pathMatcher) Set thePathMatcher
implementation to use for this resource pattern resolver. -
Uses of PathMatcher in org.springframework.messaging.handler
ModifierConstructorDescriptionDestinationPatternsMessageCondition
(String[] patterns, PathMatcher matcher) Constructor with patterns and aPathMatcher
instance. -
Uses of PathMatcher in org.springframework.messaging.simp.annotation.support
Modifier and TypeMethodDescriptionSimpAnnotationMethodMessageHandler.getPathMatcher()
Return the PathMatcher implementation to use for matching destinations.Modifier 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
Modifier and TypeMethodDescriptionDefaultSubscriptionRegistry.getPathMatcher()
Return the configuredPathMatcher
.Modifier 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
Modifier 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()
Modifier 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
Modifier and TypeMethodDescriptionSimpleRouteMatcher.getPathMatcher()
Return the underlyingPathMatcher
delegate.ModifierConstructorDescriptionSimpleRouteMatcher
(PathMatcher pathMatcher) Create a newSimpleRouteMatcher
for the givenPathMatcher
delegate. -
Uses of PathMatcher in org.springframework.web.cors
Modifier and TypeMethodDescriptionvoid
UrlBasedCorsConfigurationSource.setPathMatcher
(PathMatcher pathMatcher) Configure aPathMatcher
to use for pattern matching. -
Uses of PathMatcher in org.springframework.web.servlet.config.annotation
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionAbstractHandlerMapping.getPathMatcher()
Return theconfigured
PathMatcher
.MappedInterceptor.getPathMatcher()
Theconfigured
PathMatcher.Modifier 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.ModifierConstructorDescriptionRequestMatchResult
(String pattern, String lookupPath, PathMatcher pathMatcher) Create an instance with the matched String pattern. -
Uses of PathMatcher in org.springframework.web.servlet.mvc
Modifier 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
ModifierConstructorDescriptionPatternsRequestCondition
(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
Modifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getPathMatcher()
Return a custom PathMatcher to use for the PatternsRequestCondition, if any.Modifier 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
Modifier and TypeMethodDescriptionResourceUrlProvider.getPathMatcher()
Return the configuredPathMatcher
.Modifier and TypeMethodDescriptionvoid
ResourceUrlProvider.setPathMatcher
(PathMatcher pathMatcher) Configure aPathMatcher
to use when comparing target lookup path against resource mappings.
MappedInterceptor.matches(HttpServletRequest)