# Package org.springframework.web.accept

This package contains classes used to determine the requested the media types in a request.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ContentNegotiationStrategy | A strategy for resolving the requested media types in a request.
  MediaTypeFileExtensionResolver | A strategy for resolving a `MediaType` to one or more path extensions.

- Class Summary
  Class | Description
  --- | ---
  AbstractMappingContentNegotiationStrategy | A base class for ContentNegotiationStrategy types that maintain a map with keys such as "json" and media types such as "application/json".
  ContentNegotiationManager | This class is used to determine the requested media types of a request by delegating to a list of ContentNegotiationStrategy instances.
  ContentNegotiationManagerFactoryBean | A factory providing convenient access to a `ContentNegotiationManager` configured with one or more `ContentNegotiationStrategy` instances.
  FixedContentNegotiationStrategy | A ContentNegotiationStrategy that returns a fixed content type.
  HeaderContentNegotiationStrategy | A ContentNegotiationStrategy that parses the 'Accept' header of the request.
  MappingMediaTypeFileExtensionResolver | An implementation of `MediaTypeFileExtensionResolver` that maintains a lookup from extension to MediaType.
  ParameterContentNegotiationStrategy | A ContentNegotiationStrategy that uses a request parameter to determine what media types are requested.
  PathExtensionContentNegotiationStrategy | A ContentNegotiationStrategy that uses the path extension of the URL to determine what media types are requested.
  ServletPathExtensionContentNegotiationStrategy | An extension of `PathExtensionContentNegotiationStrategy` that uses `ServletContext.getMimeType(String)` as a fallback mechanism when matching a path extension to a media type.

## Package org.springframework.web.accept Description

This package contains classes used to determine the requested the media types in a request.

`ContentNegotiationStrategy` is the main abstraction for determining requested media types with implementations based on path extensions, a a request parameter, the 'Accept' header, or a default content type.

`ContentNegotiationManager` is used to delegate to one ore more of the above strategies in a specific order.