ContentNegotiationStrategy that checks the 'Accept' request header.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | resolveMediaTypes(NativeWebRequest
the current request request)Implements org. Resolve the given request to a list of media types. |
| HeaderContentNegotiationStrategy | back to summary |
|---|---|
| public HeaderContentNegotiationStrategy() | |
| resolveMediaTypes | back to summary |
|---|---|
| public List Implements org. Doc from org. Resolve the given request to a list of media types. The returned list is ordered by specificity first and by quality parameter second.
| |