| Package | Description |
|---|---|
| org.springframework.web.accept |
This package contains classes used to determine the requested the media types in a request.
|
| org.springframework.web.cors |
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
| Modifier and Type | Method and Description |
|---|---|
void |
PathExtensionContentNegotiationStrategy.setUrlPathHelper(UrlPathHelper urlPathHelper)
Configure a
UrlPathHelper to use in PathExtensionContentNegotiationStrategy.getMediaTypeKey(org.springframework.web.context.request.NativeWebRequest)
in order to derive the lookup path for a target request URL path. |
| Modifier and Type | Method and Description |
|---|---|
void |
UrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.
|