Package | Description |
---|---|
org.springframework.web.accept |
This package contains classes used to determine the requested the media types in a request.
|
org.springframework.web.servlet.resource |
Support classes for serving static resources.
|
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
protected PathExtensionContentNegotiationStrategy |
ResourceHttpRequestHandler.initContentNegotiationStrategy()
Deprecated.
as of 5.2.4 this method returns
null , and if a
sub-class returns an actual instance,the instance is used only as a
source of media type mappings, if it contains any. Please, use
ResourceHttpRequestHandler.setMediaTypes(Map) instead, or if you need to change behavior,
you can override ResourceHttpRequestHandler.getMediaType(HttpServletRequest, Resource) . |