Package | Description |
---|---|
org.springframework.web.cors.reactive |
Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
org.springframework.web.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
org.springframework.web.servlet.function |
Provides the types that make up Spring's functional web framework for Servlet environments.
|
org.springframework.web.util.pattern |
Dedicated support for matching HTTP request paths.
|
Constructor and Description |
---|
UrlBasedCorsConfigurationSource(PathPatternParser patternParser)
Construct a new
UrlBasedCorsConfigurationSource instance from the supplied
PathPatternParser . |
Modifier and Type | Method and Description |
---|---|
static Function<String,RequestPredicate> |
RequestPredicates.pathPredicates(PathPatternParser patternParser)
Return a function that creates new path-matching
RequestPredicates
from pattern Strings using the given PathPatternParser . |
Modifier and Type | Method and Description |
---|---|
PathPatternParser |
AbstractHandlerMapping.getPathPatternParser()
Return the
PathPatternParser instance that is used for
CORS configuration checks . |
Modifier and Type | Method and Description |
---|---|
PathPatternParser |
RequestMappingInfo.BuilderConfiguration.getPatternParser() |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingInfo.BuilderConfiguration.setPatternParser(PathPatternParser patternParser) |
Modifier and Type | Method and Description |
---|---|
static Function<String,RequestPredicate> |
RequestPredicates.pathPredicates(PathPatternParser patternParser)
Return a function that creates new path-matching
RequestPredicates
from pattern Strings using the given PathPatternParser . |
Modifier and Type | Field and Description |
---|---|
static PathPatternParser |
PathPatternParser.defaultInstance
Shared, read-only instance of
PathPatternParser . |
Constructor and Description |
---|
PathPatternRouteMatcher(PathPatternParser parser)
Constructor with given
PathPatternParser . |