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 |
ParameterContentNegotiationStrategy
Strategy that resolves the requested content type from a query parameter.
|
class |
PathExtensionContentNegotiationStrategy
A
ContentNegotiationStrategy that resolves the file extension in the
request path to a key to be used to look up a media type. |
class |
ServletPathExtensionContentNegotiationStrategy
Extends
PathExtensionContentNegotiationStrategy that also uses
ServletContext.getMimeType(String) to resolve file extensions. |