Uses of Class
org.springframework.web.util.pattern.PathPatternParser
Packages that use 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
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. -
Uses of PathPatternParser in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type PathPatternParserModifier and TypeMethodDescriptionStandaloneMockMvcBuilder.setPatternParser(PathPatternParser parser) Enable URL path matching with parsedPathPatternsinstead of String pattern matching with aPathMatcher. -
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(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 PathPatternParserMatchableHandlerMapping.getPatternParser()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(PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching.voidAbstractHandlerMethodMapping.setPatternParser(PathPatternParser patternParser) voidAbstractUrlHandlerMapping.setPatternParser(PathPatternParser patternParser) Constructors in org.springframework.web.servlet.handler with parameters of type PathPatternParserModifierConstructorDescriptionMappedInterceptor(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
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 PathPatternParserMethods in org.springframework.web.servlet.mvc.method with parameters of type PathPatternParserModifier and TypeMethodDescriptionvoidRequestMappingInfo.BuilderConfiguration.setPatternParser(PathPatternParser patternParser) Enable use of parsedPathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser). -
Uses of PathPatternParser in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type PathPatternParserModifier and TypeMethodDescriptionvoidRequestMappingHandlerMapping.setPatternParser(PathPatternParser patternParser) -
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