Uses of Class
org.springframework.web.util.pattern.PathPatternParser
Packages that use PathPatternParser
Package
Description
Support for testing Spring MVC applications via
RestTestClient 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.Dedicated support for matching HTTP request paths.
-
Uses of PathPatternParser in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client with parameters of type PathPatternParserModifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.patternParser(PathPatternParser parser) Enable URL path matching with parsedPathPatterns.MockMvcWebTestClient.RouterFunctionSpec.patternParser(PathPatternParser parser) Enable URL path matching with parsedPathPatterns. -
Uses of PathPatternParser in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type PathPatternParserModifier and TypeMethodDescriptionRouterFunctionMockMvcBuilder.setPatternParser(@Nullable PathPatternParser parser) Configure the parser to use forPathPatterns.StandaloneMockMvcBuilder.setPatternParser(@Nullable PathPatternParser parser) Configure the parser to use forPathPatterns. -
Uses of PathPatternParser in org.springframework.web.cors
Constructors in org.springframework.web.cors with parameters of type PathPatternParser -
Uses of PathPatternParser in org.springframework.web.cors.reactive
Constructors in org.springframework.web.cors.reactive with parameters of type PathPatternParserModifierConstructorDescriptionUrlBasedCorsConfigurationSource(PathPatternParser patternParser) Construct a newUrlBasedCorsConfigurationSourceinstance from the suppliedPathPatternParser. -
Uses of PathPatternParser in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server with parameters of type PathPatternParserModifier and TypeMethodDescriptionstatic <T extends ServerResponse>
RouterFunction<T> RouterFunctions.changeParser(RouterFunction<T> routerFunction, PathPatternParser parser) Changes thePathPatternParseron the given router function.static Function<String, RequestPredicate> RequestPredicates.pathPredicates(PathPatternParser patternParser) Return a function that creates new path-matchingRequestPredicatesfrom pattern Strings using the givenPathPatternParser. -
Uses of PathPatternParser in org.springframework.web.reactive.handler
Methods in org.springframework.web.reactive.handler that return PathPatternParserModifier and TypeMethodDescriptionAbstractHandlerMapping.getPathPatternParser()Return thePathPatternParserinstance that is used forCORS configuration checks. -
Uses of PathPatternParser in org.springframework.web.reactive.result.method
Methods in org.springframework.web.reactive.result.method that return PathPatternParserMethods in org.springframework.web.reactive.result.method with parameters of type PathPatternParserModifier and TypeMethodDescriptionvoidRequestMappingInfo.BuilderConfiguration.setPatternParser(PathPatternParser patternParser) -
Uses of PathPatternParser in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return PathPatternParserModifier and TypeMethodDescriptionPathMatchConfigurer.getPatternParser()Return thePathPatternParserto use, if configured.PathMatchConfigurer.getPatternParserOrDefault()Return the configured PathPatternParser or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcPatternParser()Return a globalPathPatternParserinstance to use for parsing patterns to match to theRequestPath.Methods in org.springframework.web.servlet.config.annotation with parameters of type PathPatternParserModifier and TypeMethodDescriptionPathMatchConfigurer.setPatternParser(@Nullable PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching. -
Uses of PathPatternParser in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function with parameters of type PathPatternParserModifier and TypeMethodDescriptionstatic <T extends ServerResponse>
RouterFunction<T> RouterFunctions.changeParser(RouterFunction<T> routerFunction, PathPatternParser parser) Changes thePathPatternParseron the given router function.static Function<String, RequestPredicate> RequestPredicates.pathPredicates(PathPatternParser patternParser) Return a function that creates new path-matchingRequestPredicatesfrom pattern Strings using the givenPathPatternParser. -
Uses of PathPatternParser in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler that return PathPatternParserModifier and TypeMethodDescriptionAbstractHandlerMapping.getPatternParser()Return theconfiguredPathPatternParser, ornullotherwise which indicates that String pattern matching withAntPathMatcheris enabled instead.default @Nullable PathPatternParserMatchableHandlerMapping.getPatternParser()Deprecated, for removal: This API element is subject to removal in a future version.Return the parser of thisHandlerMapping, if configured in which case pre-parsed patterns are used.Methods in org.springframework.web.servlet.handler with parameters of type PathPatternParserModifier and TypeMethodDescriptionvoidAbstractHandlerMapping.setPatternParser(@Nullable PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching.voidAbstractHandlerMethodMapping.setPatternParser(@Nullable PathPatternParser patternParser) voidAbstractUrlHandlerMapping.setPatternParser(@Nullable PathPatternParser patternParser) Constructors in org.springframework.web.servlet.handler with parameters of type PathPatternParserModifierConstructorDescriptionMappedInterceptor(String @Nullable [] includePatterns, String @Nullable [] excludePatterns, HttpMethod @Nullable [] includeHttpMethods, HttpMethod @Nullable [] excludeHttpMethods, HandlerInterceptor interceptor, @Nullable PathPatternParser parser) Create an instance with the given include and exclude patterns and HTTP methods.MappedInterceptor(String @Nullable [] includePatterns, String @Nullable [] excludePatterns, HandlerInterceptor interceptor, @Nullable PathPatternParser parser) Deprecated, for removal: This API element is subject to removal in a future version.in favor of the constructor variant with HTTP methods -
Uses of PathPatternParser in org.springframework.web.servlet.mvc
Constructors in org.springframework.web.servlet.mvc with parameters of type PathPatternParser -
Uses of PathPatternParser in org.springframework.web.servlet.mvc.condition
Constructors in org.springframework.web.servlet.mvc.condition with parameters of type PathPatternParserModifierConstructorDescriptionPathPatternsRequestCondition(PathPatternParser parser, String... patterns) Constructor with patterns to use. -
Uses of PathPatternParser in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return PathPatternParserModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getPatternParser()RequestMappingInfo.BuilderConfiguration.getPatternParserToUse()Return thePathPatternParserto use, the one set explicitly or falling back on a default instance if bothPathPatternParserandPathMatcherare not set.Methods in org.springframework.web.servlet.mvc.method with parameters of type PathPatternParserModifier and TypeMethodDescriptionvoidRequestMappingInfo.BuilderConfiguration.setPatternParser(@Nullable PathPatternParser patternParser) Enable use of parsedPathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser). -
Uses of PathPatternParser in org.springframework.web.util.pattern
Fields in org.springframework.web.util.pattern declared as PathPatternParserModifier and TypeFieldDescriptionstatic final PathPatternParserPathPatternParser.defaultInstanceShared, read-only instance ofPathPatternParser.Constructors in org.springframework.web.util.pattern with parameters of type PathPatternParser