Uses of Class
org.springframework.web.HttpMediaTypeNotAcceptableException
Package
Description
This package contains classes used to determine the requested the media types in a request.
-
Uses of HttpMediaTypeNotAcceptableException in org.springframework.web.accept
Modifier and TypeMethodDescriptionprotected MediaType
AbstractMappingContentNegotiationStrategy.handleNoMatch
(NativeWebRequest request, String key) Override to provide handling when a key is not resolved via.protected MediaType
ServletPathExtensionContentNegotiationStrategy.handleNoMatch
(NativeWebRequest webRequest, String extension) Deprecated.Resolve file extension viaServletContext.getMimeType(String)
and also delegate to base class for a potentialMediaTypeFactory
lookup.AbstractMappingContentNegotiationStrategy.resolveMediaTypeKey
(NativeWebRequest webRequest, String key) An alternative toAbstractMappingContentNegotiationStrategy.resolveMediaTypes(NativeWebRequest)
that accepts an already extracted key.AbstractMappingContentNegotiationStrategy.resolveMediaTypes
(NativeWebRequest webRequest) ContentNegotiationManager.resolveMediaTypes
(NativeWebRequest request) ContentNegotiationStrategy.resolveMediaTypes
(NativeWebRequest webRequest) Resolve the given request to a list of media types.HeaderContentNegotiationStrategy.resolveMediaTypes
(NativeWebRequest request) Resolve the given request to a list of media types.