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.
/**
* This package contains classes used to determine the requested the media types in a request.
*
* <p>{@link org.springframework.web.accept.ContentNegotiationStrategy} is the main
* abstraction for determining requested {@linkplain org.springframework.http.MediaType media types}
* with implementations based on
* {@linkplain org.springframework.web.accept.PathExtensionContentNegotiationStrategy path extensions}, a
* {@linkplain org.springframework.web.accept.ParameterContentNegotiationStrategy a request parameter}, the
* {@linkplain org.springframework.web.accept.HeaderContentNegotiationStrategy 'Accept' header}, or a
* {@linkplain org.springframework.web.accept.FixedContentNegotiationStrategy default content type}.
*
* <p>{@link org.springframework.web.accept.ContentNegotiationManager} is used to delegate to one
* ore more of the above strategies in a specific order.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.accept;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;