Uses of Class
org.springframework.web.util.pattern.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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected Collection<PathPattern>
PatternsRequestCondition.getContent()
PatternsRequestCondition.getPatterns()
ModifierConstructorDescriptionPatternsRequestCondition
(PathPattern... patterns) Creates a new instance with the given URL patterns.ModifierConstructorDescriptionPatternsRequestCondition
(List<PathPattern> patterns) Creates a new instance with the given URL patterns. -
Uses of PathPattern in org.springframework.web.servlet.handler
Modifier and TypeMethodDescriptionfinal Map<PathPattern,
Object> AbstractUrlHandlerMapping.getPathPatternHandlerMap()
Identical toAbstractUrlHandlerMapping.getHandlerMap()
but populated when parsed patterns areenabled
; otherwise empty.ModifierConstructorDescriptionRequestMatchResult
(PathPattern pathPattern, PathContainer lookupPath) Create an instance with the matchedPathPattern
. -
Uses of PathPattern in org.springframework.web.servlet.mvc.condition
Modifier and TypeMethodDescriptionPathPatternsRequestCondition.getFirstPattern()
Return the first pattern.Modifier and TypeMethodDescriptionprotected Collection<PathPattern>
PathPatternsRequestCondition.getContent()
PathPatternsRequestCondition.getPatterns()
Return the patterns in this condition. -
Uses of PathPattern in org.springframework.web.util.pattern
Modifier and TypeFieldDescriptionstatic final Comparator<PathPattern>
PathPattern.SPECIFICITY_COMPARATOR
Comparator that sorts patterns by specificity as follows: Null instances are last.Modifier 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.Modifier 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.