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