See: Description
Interface | Description |
---|---|
ContentNegotiationStrategy |
A strategy for resolving the requested media types for a request.
|
MediaTypeFileExtensionResolver |
Strategy to resolve a
MediaType to a list of file extensions —
for example, to resolve "application/json" to "json". |
Class | Description |
---|---|
AbstractMappingContentNegotiationStrategy |
Base class for
ContentNegotiationStrategy implementations with the
steps to resolve a request to media types. |
ContentNegotiationManager |
Central class to determine requested media types
for a request.
|
ContentNegotiationManagerFactoryBean |
Factory to create a
ContentNegotiationManager and configure it with
ContentNegotiationStrategy instances. |
FixedContentNegotiationStrategy |
A
ContentNegotiationStrategy that returns a fixed content type. |
HeaderContentNegotiationStrategy |
A
ContentNegotiationStrategy that checks the 'Accept' request header. |
MappingMediaTypeFileExtensionResolver |
An implementation of
MediaTypeFileExtensionResolver that maintains
lookups between file extensions and MediaTypes in both directions. |
ParameterContentNegotiationStrategy |
Strategy that resolves the requested content type from a query parameter.
|
PathExtensionContentNegotiationStrategy | Deprecated
as of 5.2.4.
|
ServletPathExtensionContentNegotiationStrategy | Deprecated
as of 5.2.4.
|
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.