Package | Description |
---|---|
org.springframework.web.accept |
This package contains classes used to determine the requested the media types in a request.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMappingContentNegotiationStrategy
Base class for
ContentNegotiationStrategy implementations with the
steps to resolve a request to media types. |
class |
ContentNegotiationManager
Central class to determine requested media types
for a request.
|
class |
MappingMediaTypeFileExtensionResolver
An implementation of
MediaTypeFileExtensionResolver that maintains
lookups between file extensions and MediaTypes in both directions. |
class |
ParameterContentNegotiationStrategy
Strategy that resolves the requested content type from a query parameter.
|
class |
PathExtensionContentNegotiationStrategy
Deprecated.
as of 5.2.4. See class-level note in
ContentNegotiationManagerFactoryBean on the deprecation of path
extension config options. |
class |
ServletPathExtensionContentNegotiationStrategy
Deprecated.
as of 5.2.4. See class-level note in
ContentNegotiationManagerFactoryBean on the deprecation of path
extension config options. |
Modifier and Type | Method and Description |
---|---|
void |
ContentNegotiationManager.addFileExtensionResolvers(MediaTypeFileExtensionResolver... resolvers)
Register more
MediaTypeFileExtensionResolver instances in addition
to those detected at construction. |