Uses of Class
org.springframework.web.util.pattern.PathPatternParser
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Contains built-in
MockMvcBuilder
implementations.Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Provides the types that make up Spring's functional web framework for Reactive environments.
Provides HandlerMapping implementations including abstract base classes.
Infrastructure for handler method processing.
Annotation-based setup for Spring MVC.
Provides the types that make up Spring's functional web framework for Servlet environments.
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.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Dedicated support for matching HTTP request paths.
-
Uses of PathPatternParser in org.springframework.test.web.servlet.client
Modifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.patternParser
(PathPatternParser parser) Enable URL path matching with parsedPathPatterns
. -
Uses of PathPatternParser in org.springframework.test.web.servlet.setup
Modifier and TypeMethodDescriptionStandaloneMockMvcBuilder.setPatternParser
(PathPatternParser parser) Enable URL path matching with parsedPathPatterns
instead of String pattern matching with aPathMatcher
. -
Uses of PathPatternParser in org.springframework.web.cors
-
Uses of PathPatternParser in org.springframework.web.cors.reactive
ModifierConstructorDescriptionUrlBasedCorsConfigurationSource
(PathPatternParser patternParser) Construct a newUrlBasedCorsConfigurationSource
instance from the suppliedPathPatternParser
. -
Uses of PathPatternParser in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescriptionstatic <T extends ServerResponse>
RouterFunction<T>RouterFunctions.changeParser
(RouterFunction<T> routerFunction, PathPatternParser parser) Changes thePathPatternParser
on the given router function.static Function<String,
RequestPredicate> RequestPredicates.pathPredicates
(PathPatternParser patternParser) Return a function that creates new path-matchingRequestPredicates
from pattern Strings using the givenPathPatternParser
. -
Uses of PathPatternParser in org.springframework.web.reactive.handler
Modifier and TypeMethodDescriptionAbstractHandlerMapping.getPathPatternParser()
Return thePathPatternParser
instance that is used forCORS configuration checks
. -
Uses of PathPatternParser in org.springframework.web.reactive.result.method
Modifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setPatternParser
(PathPatternParser patternParser) -
Uses of PathPatternParser in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionPathMatchConfigurer.getPatternParser()
Return thePathPatternParser
to use, if configured.PathMatchConfigurer.getPatternParserOrDefault()
Return the configured PathPatternParser or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcPatternParser()
Return a globalPathPatternParser
instance to use for parsing patterns to match to theRequestPath
.Modifier and TypeMethodDescriptionPathMatchConfigurer.setPatternParser
(PathPatternParser patternParser) Set thePathPatternParser
to parsepatterns
with for URL path matching. -
Uses of PathPatternParser in org.springframework.web.servlet.function
Modifier and TypeMethodDescriptionstatic <T extends ServerResponse>
RouterFunction<T>RouterFunctions.changeParser
(RouterFunction<T> routerFunction, PathPatternParser parser) Changes thePathPatternParser
on the given router function.static Function<String,
RequestPredicate> RequestPredicates.pathPredicates
(PathPatternParser patternParser) Return a function that creates new path-matchingRequestPredicates
from pattern Strings using the givenPathPatternParser
. -
Uses of PathPatternParser in org.springframework.web.servlet.handler
Modifier and TypeMethodDescriptionAbstractHandlerMapping.getPatternParser()
Return theconfigured
PathPatternParser
, ornull
otherwise which indicates that String pattern matching withAntPathMatcher
is enabled instead.default PathPatternParser
MatchableHandlerMapping.getPatternParser()
Return the parser of thisHandlerMapping
, if configured in which case pre-parsed patterns are used.Modifier and TypeMethodDescriptionvoid
AbstractHandlerMapping.setPatternParser
(PathPatternParser patternParser) Set thePathPatternParser
to parsepatterns
with for URL path matching.void
AbstractHandlerMethodMapping.setPatternParser
(PathPatternParser patternParser) void
AbstractUrlHandlerMapping.setPatternParser
(PathPatternParser patternParser) ModifierConstructorDescriptionMappedInterceptor
(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor, PathPatternParser parser) Create an instance with the given include and exclude patterns along with the target interceptor for the mappings. -
Uses of PathPatternParser in org.springframework.web.servlet.mvc
-
Uses of PathPatternParser in org.springframework.web.servlet.mvc.condition
ModifierConstructorDescriptionPathPatternsRequestCondition
(PathPatternParser parser, String... patterns) Constructor with patterns to use. -
Uses of PathPatternParser in org.springframework.web.servlet.mvc.method
Modifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getPatternParser()
RequestMappingInfo.BuilderConfiguration.getPatternParserToUse()
Return thePathPatternParser
to use, the one set explicitly or falling back on a default instance if bothPathPatternParser
andPathMatcher
are not set.Modifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setPatternParser
(PathPatternParser patternParser) Enable use of parsedPathPattern
s as described inAbstractHandlerMapping.setPatternParser(PathPatternParser)
. -
Uses of PathPatternParser in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionvoid
RequestMappingHandlerMapping.setPatternParser
(PathPatternParser patternParser) -
Uses of PathPatternParser in org.springframework.web.util.pattern
Modifier and TypeFieldDescriptionstatic final PathPatternParser
PathPatternParser.defaultInstance
Shared, read-only instance ofPathPatternParser
.