# Uses of Class
org.springframework.web.HttpMediaTypeNotAcceptableException

Packages that use HttpMediaTypeNotAcceptableException
Package
Description
org.springframework.web.accept
This package contains classes used to determine the requested the media types in a request.

## Uses of HttpMediaTypeNotAcceptableException in org.springframework.web.accept

Methods in org.springframework.web.accept that throw HttpMediaTypeNotAcceptableException
Modifier and Type
Method
Description
`protected 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 via `ServletContext.getMimeType(String)` and also delegate to base class for a potential `MediaTypeFactory` lookup.
`List<MediaType>`
AbstractMappingContentNegotiationStrategy.`resolveMediaTypeKey(NativeWebRequest webRequest, String key)`
An alternative to `AbstractMappingContentNegotiationStrategy.resolveMediaTypes(NativeWebRequest)` that accepts an already extracted key.
`List<MediaType>`
AbstractMappingContentNegotiationStrategy.`resolveMediaTypes(NativeWebRequest webRequest)`
`List<MediaType>`
ContentNegotiationManager.`resolveMediaTypes(NativeWebRequest request)`
`List<MediaType>`
ContentNegotiationStrategy.`resolveMediaTypes(NativeWebRequest webRequest)`
Resolve the given request to a list of media types.
`List<MediaType>`
HeaderContentNegotiationStrategy.`resolveMediaTypes(NativeWebRequest request)`
Resolve the given request to a list of media types.