A strategy for resolving the requested media types in a request.
A strategy for resolving a
A base class for ContentNegotiationStrategy types that maintain a map with keys such as "json" and media types such as "application/json".
This class is used to determine the requested media types of a request by delegating to a list of ContentNegotiationStrategy instances.
A factory providing convenient access to a
A ContentNegotiationStrategy that returns a fixed content type.
A ContentNegotiationStrategy that parses the 'Accept' header of the request.
An implementation of
A ContentNegotiationStrategy that uses a request parameter to determine what media types are requested.
A ContentNegotiationStrategy that uses the path extension of the URL to determine what media types are requested.
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.