Package | Description |
---|---|
org.springframework.web.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
org.springframework.web.reactive.resource |
Support classes for serving static resources.
|
org.springframework.web.reactive.result.condition |
RequestCondition
and implementations for matching requests based on different criteria. |
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.mvc.condition |
Common MVC logic for matching incoming requests based on conditions.
|
org.springframework.web.util.pattern |
Dedicated support for matching HTTP request paths.
|
Modifier and Type | Method and Description |
---|---|
Map<PathPattern,Object> |
AbstractUrlHandlerMapping.getHandlerMap()
Return a read-only view of registered path patterns and handlers which may
may be an actual handler instance or the bean name of lazily initialized
handler.
|
Modifier and Type | Method and Description |
---|---|
Map<PathPattern,ResourceWebHandler> |
ResourceUrlProvider.getHandlerMap()
Return a read-only view of the resource handler mappings either manually
configured or auto-detected from Spring configuration.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<PathPattern> |
PatternsRequestCondition.getContent() |
Set<PathPattern> |
PatternsRequestCondition.getPatterns() |
Constructor and Description |
---|
PatternsRequestCondition(PathPattern... patterns)
Creates a new instance with the given URL patterns.
|
Constructor and Description |
---|
PatternsRequestCondition(List<PathPattern> patterns)
Creates a new instance with the given URL patterns.
|
Modifier and Type | Method and Description |
---|---|
Map<PathPattern,Object> |
AbstractUrlHandlerMapping.getPathPatternHandlerMap()
Identical to
AbstractUrlHandlerMapping.getHandlerMap() but populated when parsed patterns
are enabled ; otherwise empty. |
Constructor and Description |
---|
RequestMatchResult(PathPattern pathPattern,
PathContainer lookupPath)
Create an instance with the matched
PathPattern . |
Modifier and Type | Method and Description |
---|---|
PathPattern |
PathPatternsRequestCondition.getFirstPattern()
Return the first pattern.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<PathPattern> |
PathPatternsRequestCondition.getContent() |
Set<PathPattern> |
PathPatternsRequestCondition.getPatterns()
Return the patterns in this condition.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<PathPattern> |
PathPattern.SPECIFICITY_COMPARATOR
Comparator that sorts patterns by specificity as follows:
Null instances are last.
|
Modifier and Type | Method and Description |
---|---|
PathPattern |
PathPattern.combine(PathPattern pattern2string)
Combine this pattern with another.
|
PathPattern |
PathPatternParser.parse(String pathPattern)
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 Type | Method and Description |
---|---|
PathPattern |
PathPattern.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.
|