Class | Description |
---|---|
AbstractMappingContentNegotiationStrategy |
A base class for ContentNegotiationStrategy types that maintain a map with keys
such as "json" and media types such as "application/json".
|
FixedContentNegotiationStrategy |
返回固定的MediaType
|
HeaderContentNegotiationStrategy |
A
ContentNegotiationStrategy that checks the 'Accept' request header. |
MappingTinyMediaTypeFileExtensionResolver |
An implementation of
MediaTypeFileExtensionResolver that maintains a lookup
from extension to MediaType. |
ParameterContentNegotiationStrategy |
A ContentNegotiationStrategy that uses a request parameter to determine what
media types are requested.
|
PathExtensionContentNegotiationStrategy |
A ContentNegotiationStrategy that uses the path extension of the URL to
determine what media types are requested.
|
ServletPathExtensionContentNegotiationStrategy |
Extends
PathExtensionContentNegotiationStrategy that also uses
ServletContext.getMimeType(String) to resolve file extensions. |
Copyright © 2006–2018 TinyGroup. All rights reserved.