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 common
CorsProcessor 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 the
org.springframework.web.method package. |
org.springframework.web.servlet.resource |
Support classes for serving static resources.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
PathMatchingResourcePatternResolver.getPathMatcher()
Return the PathMatcher that this resource pattern resolver uses.
|
Modifier and Type | Method and Description |
---|---|
void |
PathMatchingResourcePatternResolver.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for this
resource pattern resolver.
|
Constructor and Description |
---|
DestinationPatternsMessageCondition(String[] patterns,
PathMatcher matcher)
Constructor with patterns and a
PathMatcher instance. |
Modifier and Type | Method and Description |
---|---|
PathMatcher |
SimpAnnotationMethodMessageHandler.getPathMatcher()
Return the PathMatcher implementation to use for matching destinations.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpAnnotationMethodMessageHandler.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching destinations
against configured destination patterns.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
DefaultSubscriptionRegistry.getPathMatcher()
Return the configured
PathMatcher . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSubscriptionRegistry.setPathMatcher(PathMatcher pathMatcher)
Specify the
PathMatcher 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.
|
Modifier and Type | Method and Description |
---|---|
protected PathMatcher |
MessageBrokerRegistry.getPathMatcher() |
PathMatcher |
AbstractMessageBrokerConfiguration.getPathMatcher(AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel)
Provide access to the configured PatchMatcher for access from other
configuration classes.
|
Modifier and Type | Method and Description |
---|---|
MessageBrokerRegistry |
MessageBrokerRegistry.setPathMatcher(PathMatcher pathMatcher)
Configure the PathMatcher to use to match the destinations of incoming
messages to
@MessageMapping and @SubscribeMapping methods. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultUserDestinationResolver.setPathMatcher(PathMatcher pathMatcher)
Deprecated.
as of 4.3.14 this property is no longer used and is replaced
by
DefaultUserDestinationResolver.setRemoveLeadingSlash(boolean) that indicates more explicitly
whether to keep the leading slash which may or may not be the case
regardless of how the PathMatcher is configured. |
Modifier and Type | Class and Description |
---|---|
class |
AntPathMatcher
PathMatcher implementation for Ant-style path patterns. |
Modifier and Type | Method and Description |
---|---|
PathMatcher |
SimpleRouteMatcher.getPathMatcher()
Return the underlying
PathMatcher delegate. |
Constructor and Description |
---|
SimpleRouteMatcher(PathMatcher pathMatcher)
Create a new
SimpleRouteMatcher for the given
PathMatcher delegate. |
Modifier and Type | Method and Description |
---|---|
void |
UrlBasedCorsConfigurationSource.setPathMatcher(PathMatcher pathMatcher)
Configure a
PathMatcher to use for pattern matching. |
Modifier and Type | Method and Description |
---|---|
PathMatcher |
PathMatchConfigurer.getPathMatcher() |
protected PathMatcher |
PathMatchConfigurer.getPathMatcherOrDefault()
Return the configured PathMatcher or a default, shared instance otherwise.
|
PathMatcher |
WebMvcConfigurationSupport.mvcPathMatcher()
Return a global
PathMatcher instance which is used for URL path
matching with String patterns. |
Modifier and Type | Method and Description |
---|---|
InterceptorRegistration |
InterceptorRegistration.pathMatcher(PathMatcher pathMatcher)
Configure the PathMatcher to use to match URL paths with against include
and exclude patterns.
|
PathMatchConfigurer |
PathMatchConfigurer.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher to use for String pattern matching.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
AbstractHandlerMapping.getPathMatcher()
Return the
configured PathMatcher . |
PathMatcher |
MappedInterceptor.getPathMatcher()
The
configured PathMatcher. |
Modifier and Type | Method and Description |
---|---|
boolean |
MappedInterceptor.matches(String lookupPath,
PathMatcher pathMatcher)
Deprecated.
as of 5.3 in favor of
MappedInterceptor.matches(HttpServletRequest) |
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.
|
Constructor and Description |
---|
RequestMatchResult(String pattern,
String lookupPath,
PathMatcher pathMatcher)
Create an instance with the matched String pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Constructor and Description |
---|
PatternsRequestCondition(String[] patterns,
boolean useTrailingSlashMatch,
PathMatcher pathMatcher)
Variant of
PatternsRequestCondition(String...) with a
PathMatcher and flag for matching trailing slashes. |
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useTrailingSlashMatch)
Deprecated.
as of 5.3 in favor of
PatternsRequestCondition(String[], boolean, PathMatcher) . |
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch)
Deprecated.
as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. |
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch,
List<String> fileExtensions)
Deprecated.
as of 5.2.4. See class-level note in
RequestMappingHandlerMapping
on the deprecation of path extension config options. |
Modifier and Type | Method and Description |
---|---|
PathMatcher |
RequestMappingInfo.BuilderConfiguration.getPathMatcher()
Return a custom PathMatcher to use for the PatternsRequestCondition, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingInfo.BuilderConfiguration.setPathMatcher(PathMatcher pathMatcher)
Set a custom PathMatcher to use for the PatternsRequestCondition.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
ResourceUrlProvider.getPathMatcher()
Return the configured
PathMatcher . |
Modifier and Type | Method and Description |
---|---|
void |
ResourceUrlProvider.setPathMatcher(PathMatcher pathMatcher)
Configure a
PathMatcher to use when comparing target lookup path
against resource mappings. |