public interface RequestedContentTypeResolver
ServerWebExchange.
See RequestedContentTypeResolverBuilder to create a sequence of
strategies.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.springframework.http.MediaType> |
resolveMediaTypes(org.springframework.web.server.ServerWebExchange exchange)
Resolve the given request to a list of requested media types.
|
java.util.List<org.springframework.http.MediaType> resolveMediaTypes(org.springframework.web.server.ServerWebExchange exchange)
exchange - the current exchangeorg.springframework.web.server.NotAcceptableStatusException - if the requested media type is invalid