org. 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.
org. is used to delegate to one
ore more of the above strategies in a specific order.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ContentNegotiationStrategy
A strategy for resolving the requested media types for a request. |
| public interface | MediaTypeFileExtensionResolver
Strategy to resolve a |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractMappingContentNegotiationStrategy
Base class for |
| public class | ContentNegotiationManager
Central class to determine requested media types for a request. |
| public class | ContentNegotiationManagerFactoryBean
Factory to create a |
| public class | FixedContentNegotiationStrategy
A |
| public class | HeaderContentNegotiationStrategy
A |
| public class | MappingMediaTypeFileExtensionResolver
An implementation of |
| public class | ParameterContentNegotiationStrategy
Strategy that resolves the requested content type from a query parameter. |
| public class | PathExtensionContentNegotiationStrategy
Deprecated
as of 5.2.4.
A ContentNegotiationStrategy that resolves the file extension in the
request path to a key to be used to look up a media type.
|
| public class | ServletPathExtensionContentNegotiationStrategy
Deprecated
as of 5.2.4.
Extends PathExtensionContentNegotiationStrategy that also uses
ServletContext#getMimeType(String) to resolve file extensions.
|