Package | Description |
---|---|
org.springframework.web.cors |
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
org.springframework.web.filter |
Provides generic filter base classes allowing for bean-style configuration.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCorsProcessor
The default implementation of
CorsProcessor , as defined by the
CORS W3C recommendation. |
Modifier and Type | Method and Description |
---|---|
void |
CorsFilter.setCorsProcessor(CorsProcessor processor)
Configure a custom
CorsProcessor to use to apply the matched
CorsConfiguration for a request. |
Modifier and Type | Method and Description |
---|---|
CorsProcessor |
AbstractHandlerMapping.getCorsProcessor()
Return the configured
CorsProcessor . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHandlerMapping.setCorsProcessor(CorsProcessor corsProcessor)
Configure a custom
CorsProcessor to use to apply the matched
CorsConfiguration for a request. |