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 thePathMatcherthat this resource pattern resolver uses.Methods in org.springframework.core.io.support with parameters of type PathMatcherModifier and TypeMethodDescriptionvoidPathMatchingResourcePatternResolver.setPathMatcher(PathMatcher pathMatcher) Set thePathMatcherimplementation 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 aPathMatcherinstance. -
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 TypeMethodDescriptionvoidSimpAnnotationMethodMessageHandler.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 TypeMethodDescriptionvoidDefaultSubscriptionRegistry.setPathMatcher(PathMatcher pathMatcher) Specify thePathMatcherto use.voidSimpleBrokerMessageHandler.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 PathMatcherAbstractMessageBrokerConfiguration.getPathMatcher(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) Provide access to the configured PatchMatcher for access from other configuration classes.protected PathMatcherMessageBrokerRegistry.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@MessageMappingand@SubscribeMappingmethods. -
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 underlyingPathMatcherdelegate.Constructors in org.springframework.util with parameters of type PathMatcherModifierConstructorDescriptionSimpleRouteMatcher(PathMatcher pathMatcher) Create a newSimpleRouteMatcherfor the givenPathMatcherdelegate. -
Uses of PathMatcher in org.springframework.web.cors
Methods in org.springframework.web.cors with parameters of type PathMatcherModifier and TypeMethodDescriptionvoidUrlBasedCorsConfigurationSource.setPathMatcher(PathMatcher pathMatcher) Configure aPathMatcherto 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 PathMatcherPathMatchConfigurer.getPathMatcherOrDefault()Return the configured PathMatcher or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcPathMatcher()Return a globalPathMatcherinstance 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 theconfiguredPathMatcher.MappedInterceptor.getPathMatcher()Get the configured PathMatcher.Methods in org.springframework.web.servlet.handler with parameters of type PathMatcherModifier and TypeMethodDescriptionbooleanMappedInterceptor.matches(String lookupPath, PathMatcher pathMatcher) Deprecated.voidAbstractHandlerMapping.setPathMatcher(PathMatcher pathMatcher) Configure the PathMatcher to use.voidMappedInterceptor.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 TypeMethodDescriptionvoidWebContentInterceptor.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 aPathMatcherand 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 TypeMethodDescriptionvoidRequestMappingInfo.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 TypeMethodDescriptionvoidResourceUrlProvider.setPathMatcher(PathMatcher pathMatcher) Configure aPathMatcherto use when comparing target lookup path against resource mappings.
MappedInterceptor.matches(HttpServletRequest)