| 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
Extends
PathExtensionContentNegotiationStrategy that also uses
ServletContext.getMimeType(String) to resolve file extensions. |
| Modifier and Type | Method and Description |
|---|---|
protected PathExtensionContentNegotiationStrategy |
ResourceHttpRequestHandler.initContentNegotiationStrategy()
Initialize the content negotiation strategy depending on the
ContentNegotiationManager
setup and the availability of a ServletContext. |