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, @Nullable 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
(@Nullable 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 @Nullable PathMatcher
AbstractMessageBrokerConfiguration.getPathMatcher
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) Provide access to the configured PatchMatcher for access from other configuration classes.protected @Nullable 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) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PathMatcher in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionPathMatchConfigurer.getPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.protected PathMatcher
PathMatchConfigurer.getPathMatcherOrDefault()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.WebMvcConfigurationSupport.mvcPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.Modifier and TypeMethodDescriptionInterceptorRegistration.pathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.PathMatchConfigurer.setPathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
. -
Uses of PathMatcher in org.springframework.web.servlet.handler
Modifier and TypeMethodDescriptionAbstractHandlerMapping.getPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.MappedInterceptor.getPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.Modifier and TypeMethodDescriptionboolean
MappedInterceptor.matches
(String lookupPath, PathMatcher pathMatcher) Deprecated.as of 5.3 in favor ofMappedInterceptor.matches(HttpServletRequest)
void
AbstractHandlerMapping.setPathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.void
MappedInterceptor.setPathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.ModifierConstructorDescriptionRequestMatchResult
(String pattern, String lookupPath, PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
. -
Uses of PathMatcher in org.springframework.web.servlet.mvc
Modifier and TypeMethodDescriptionvoid
WebContentInterceptor.setPathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
. -
Uses of PathMatcher in org.springframework.web.servlet.mvc.condition
ModifierConstructorDescriptionPatternsRequestCondition
(String[] patterns, @Nullable UrlPathHelper urlPathHelper, @Nullable PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.Constructor with URL patterns which are prepended with "/" if necessary. -
Uses of PathMatcher in org.springframework.web.servlet.mvc.method
Modifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.Modifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setPathMatcher
(@Nullable PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
. -
Uses of PathMatcher in org.springframework.web.servlet.resource
Modifier and TypeMethodDescriptionResourceUrlProvider.getPathMatcher()
Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules.Modifier and TypeMethodDescriptionvoid
ResourceUrlProvider.setPathMatcher
(PathMatcher pathMatcher) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules.
PathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.