public interface RequestedContentTypeResolver
ServerWebExchange.| Modifier and Type | Method and Description |
|---|---|
List<MediaType> |
resolveMediaTypes(ServerWebExchange exchange)
Resolve the given request to a list of requested media types.
|
List<MediaType> resolveMediaTypes(ServerWebExchange exchange) throws NotAcceptableStatusException
exchange - the current exchangeNotAcceptableStatusException - if the requested media types is invalid