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 |
SimpleBrokerMessageHandler.setPathMatcher(PathMatcher pathMatcher)
When configured, the given PathMatcher is passed down to the underlying
SubscriptionRegistry to use for matching destination to subscriptions.
|
void |
DefaultSubscriptionRegistry.setPathMatcher(PathMatcher pathMatcher)
Specify the
PathMatcher to use. |
Modifier and Type | Method and Description |
---|---|
protected PathMatcher |
MessageBrokerRegistry.getPathMatcher() |
PathMatcher |
AbstractMessageBrokerConfiguration.getPathMatcher()
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)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
PathMatchConfigurer.getPathMatcher() |
PathMatcher |
WebMvcConfigurationSupport.mvcPathMatcher()
Return a global
PathMatcher instance for path matching
patterns in HandlerMappings . |
Modifier and Type | Method and Description |
---|---|
InterceptorRegistration |
InterceptorRegistration.pathMatcher(PathMatcher pathMatcher)
A PathMatcher implementation to use with this interceptor.
|
HandlerMapping |
WebMvcConfigurationSupport.resourceHandlerMapping(UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
ContentNegotiationManager contentNegotiationManager,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
|
PathMatchConfigurer |
PathMatchConfigurer.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
HandlerMapping |
WebMvcConfigurationSupport.viewControllerHandlerMapping(PathMatcher pathMatcher,
UrlPathHelper urlPathHelper,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at 1 to map URL paths directly to
view names.
|
Modifier and Type | Method and Description |
---|---|
PathMatcher |
MappedInterceptor.getPathMatcher()
The configured PathMatcher, or
null if none. |
PathMatcher |
AbstractHandlerMapping.getPathMatcher()
Return the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MappedInterceptor.matches(String lookupPath,
PathMatcher pathMatcher)
Determine a match for the given lookup path.
|
void |
MappedInterceptor.setPathMatcher(PathMatcher pathMatcher)
Configure a PathMatcher to use with this MappedInterceptor instead of the one passed
by default to the
MappedInterceptor.matches(String, org.springframework.util.PathMatcher) method. |
void |
AbstractHandlerMapping.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns.
|
Constructor and Description |
---|
RequestMatchResult(String matchingPattern,
String lookupPath,
PathMatcher pathMatcher)
Create an instance with a matching pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
WebContentInterceptor.setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths
against registered URL patterns, for determining cache mappings.
|
Constructor and Description |
---|
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch)
Additional constructor with flags for using suffix pattern (.*) and
trailing slash matches.
|
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useSuffixPatternMatch,
boolean useTrailingSlashMatch,
List<String> fileExtensions)
Creates a new instance with the given URL patterns.
|
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. |