| Package | Description | 
|---|---|
| org.springframework.test.web.servlet.client | Support for testing Spring MVC applications via
  WebTestClientwithMockMvcfor server request
 handling. | 
| org.springframework.test.web.servlet.setup | Contains built-in  MockMvcBuilderimplementations. | 
| org.springframework.web.cors | Support for CORS (Cross-Origin Resource Sharing),
 based on a common  CorsProcessorstrategy. | 
| org.springframework.web.cors.reactive | Reactive support for CORS (Cross-Origin Resource Sharing),
 based on a common  CorsProcessorstrategy. | 
| org.springframework.web.reactive.function.server | Provides the types that make up Spring's functional web framework for Reactive environments. | 
| org.springframework.web.reactive.handler | Provides HandlerMapping implementations including abstract base classes. | 
| org.springframework.web.reactive.result.method | Infrastructure for handler method processing. | 
| org.springframework.web.servlet.config.annotation | Annotation-based setup for Spring MVC. | 
| org.springframework.web.servlet.function | Provides the types that make up Spring's functional web framework for Servlet environments. | 
| 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.methodpackage. | 
| org.springframework.web.util.pattern | Dedicated support for matching HTTP request paths. | 
| Modifier and Type | Method and Description | 
|---|---|
| MockMvcWebTestClient.ControllerSpec | MockMvcWebTestClient.ControllerSpec. patternParser(PathPatternParser parser)Enable URL path matching with parsed
  PathPatterns. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StandaloneMockMvcBuilder. setPatternParser(PathPatternParser parser)Enable URL path matching with parsed
  PathPatternsinstead of String pattern matching with aPathMatcher. | 
| Constructor and Description | 
|---|
| UrlBasedCorsConfigurationSource(PathPatternParser parser)Constructor with a  PathPatternParserto parse patterns with. | 
| Constructor and Description | 
|---|
| UrlBasedCorsConfigurationSource(PathPatternParser patternParser)Construct a new  UrlBasedCorsConfigurationSourceinstance from the suppliedPathPatternParser. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends ServerResponse> | RouterFunctions. changeParser(RouterFunction<T> routerFunction,
            PathPatternParser parser)Changes the  PathPatternParseron the given router function. | 
| static Function<String,RequestPredicate> | RequestPredicates. pathPredicates(PathPatternParser patternParser)Return a function that creates new path-matching  RequestPredicatesfrom pattern Strings using the givenPathPatternParser. | 
| Modifier and Type | Method and Description | 
|---|---|
| PathPatternParser | AbstractHandlerMapping. getPathPatternParser()Return the  PathPatternParserinstance that is used forCORS configuration checks. | 
| Modifier and Type | Method and Description | 
|---|---|
| PathPatternParser | RequestMappingInfo.BuilderConfiguration. getPatternParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RequestMappingInfo.BuilderConfiguration. setPatternParser(PathPatternParser patternParser) | 
| Modifier and Type | Method and Description | 
|---|---|
| PathPatternParser | PathMatchConfigurer. getPatternParser()Return the  PathPatternParserto use, if configured. | 
| PathPatternParser | PathMatchConfigurer. getPatternParserOrDefault()Return the configured PathPatternParser or a default, shared instance otherwise. | 
| PathPatternParser | WebMvcConfigurationSupport. mvcPatternParser()Return a global  PathPatternParserinstance to use for parsing
 patterns to match to theRequestPath. | 
| Modifier and Type | Method and Description | 
|---|---|
| PathMatchConfigurer | PathMatchConfigurer. setPatternParser(PathPatternParser patternParser)Enable use of parsed  PathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser). | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends ServerResponse> | RouterFunctions. changeParser(RouterFunction<T> routerFunction,
            PathPatternParser parser)Changes the  PathPatternParseron the given router function. | 
| static Function<String,RequestPredicate> | RequestPredicates. pathPredicates(PathPatternParser patternParser)Return a function that creates new path-matching  RequestPredicatesfrom pattern Strings using the givenPathPatternParser. | 
| Modifier and Type | Method and Description | 
|---|---|
| PathPatternParser | AbstractHandlerMapping. getPatternParser() | 
| default PathPatternParser | MatchableHandlerMapping. getPatternParser()Return the parser of this  HandlerMapping, if configured in which
 case pre-parsed patterns are used. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractHandlerMapping. setPatternParser(PathPatternParser patternParser)Enable use of pre-parsed  PathPatterns as an alternative to
 String pattern matching withAntPathMatcher. | 
| void | AbstractUrlHandlerMapping. setPatternParser(PathPatternParser patternParser) | 
| void | AbstractHandlerMethodMapping. setPatternParser(PathPatternParser patternParser) | 
| Constructor and Description | 
|---|
| MappedInterceptor(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. | 
| Constructor and Description | 
|---|
| WebContentInterceptor(PathPatternParser parser)Constructor with a  PathPatternParserto parse patterns with. | 
| Constructor and Description | 
|---|
| PathPatternsRequestCondition(PathPatternParser parser,
                            String... patterns)Constructor with patterns to use. | 
| Modifier and Type | Method and Description | 
|---|---|
| PathPatternParser | RequestMappingInfo.BuilderConfiguration. getPatternParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RequestMappingInfo.BuilderConfiguration. setPatternParser(PathPatternParser patternParser)Enable use of parsed  PathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser). | 
| Modifier and Type | Field and Description | 
|---|---|
| static PathPatternParser | PathPatternParser. defaultInstanceShared, read-only instance of  PathPatternParser. | 
| Constructor and Description | 
|---|
| PathPatternRouteMatcher(PathPatternParser parser)Constructor with given  PathPatternParser. |