Uses of Class
org.springframework.web.util.pattern.PathPattern
Packages that use PathPattern
Package
Description
Provides HandlerMapping implementations including abstract base classes.
Support classes for serving static resources.
RequestCondition
and implementations for matching requests based on different criteria.Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Common MVC logic for matching incoming requests based on conditions.
Dedicated support for matching HTTP request paths.
-
Uses of PathPattern in org.springframework.web.reactive.handler
Methods in org.springframework.web.reactive.handler that return types with arguments of type PathPatternModifier and TypeMethodDescriptionfinal Map<PathPattern,
Object> AbstractUrlHandlerMapping.getHandlerMap()
Return a read-only view of registered path patterns and handlers which may be an actual handler instance or the bean name of lazily initialized handler. -
Uses of PathPattern in org.springframework.web.reactive.resource
Methods in org.springframework.web.reactive.resource that return types with arguments of type PathPatternModifier and TypeMethodDescriptionResourceUrlProvider.getHandlerMap()
Return a read-only view of the resource handler mappings either manually configured or auto-detected from Spring configuration. -
Uses of PathPattern in org.springframework.web.reactive.result.condition
Methods in org.springframework.web.reactive.result.condition that return types with arguments of type PathPatternModifier and TypeMethodDescriptionprotected Collection<PathPattern>
PatternsRequestCondition.getContent()
PatternsRequestCondition.getPatterns()
Constructors in org.springframework.web.reactive.result.condition with parameters of type PathPatternModifierConstructorDescriptionPatternsRequestCondition
(PathPattern... patterns) Creates a new instance with the given URL patterns.Constructor parameters in org.springframework.web.reactive.result.condition with type arguments of type PathPatternModifierConstructorDescriptionPatternsRequestCondition
(List<PathPattern> patterns) Creates a new instance with the given URL patterns. -
Uses of PathPattern in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler that return types with arguments of type PathPatternModifier and TypeMethodDescriptionfinal Map<PathPattern,
Object> AbstractUrlHandlerMapping.getPathPatternHandlerMap()
Identical toAbstractUrlHandlerMapping.getHandlerMap()
but populated when parsed patterns areenabled
; otherwise empty.Constructors in org.springframework.web.servlet.handler with parameters of type PathPatternModifierConstructorDescriptionRequestMatchResult
(PathPattern pathPattern, PathContainer lookupPath) Create an instance with the matchedPathPattern
. -
Uses of PathPattern in org.springframework.web.servlet.mvc.condition
Methods in org.springframework.web.servlet.mvc.condition that return PathPatternModifier and TypeMethodDescriptionPathPatternsRequestCondition.getFirstPattern()
Return the first pattern.Methods in org.springframework.web.servlet.mvc.condition that return types with arguments of type PathPatternModifier and TypeMethodDescriptionprotected Collection<PathPattern>
PathPatternsRequestCondition.getContent()
PathPatternsRequestCondition.getPatterns()
Return the patterns in this condition. -
Uses of PathPattern in org.springframework.web.util.pattern
Fields in org.springframework.web.util.pattern with type parameters of type PathPatternModifier and TypeFieldDescriptionstatic final Comparator<PathPattern>
PathPattern.SPECIFICITY_COMPARATOR
Comparator that sorts patterns by specificity as follows: Null instances are last.Methods in org.springframework.web.util.pattern that return PathPatternModifier and TypeMethodDescriptionPathPattern.combine
(PathPattern pattern2string) Combine this pattern with another.Process the path pattern content, a character at a time, breaking it into path elements around separator boundaries and verifying the structure at each stage.Methods in org.springframework.web.util.pattern with parameters of type PathPatternModifier and TypeMethodDescriptionPathPattern.combine
(PathPattern pattern2string) Combine this pattern with another.int
PathPattern.compareTo
(PathPattern otherPattern) Compare this pattern with a supplied pattern: return -1,0,+1 if this pattern is more specific, the same or less specific than the supplied pattern.