- <init>
Construct a new HttpHeaders instance backed by an existing map.
- add
Add the given, single header value under the given name.
- setContentType
Set the MediaType of the body, as specified by the Content-Type header.
- set
Set the given, single header value under the given name.
- getContentType
Return the MediaType of the body, as specified by the Content-Type header.
Returns null when the con
- getFirst
Return the first header value for the given header name, if any.
- get
- setAccept
Set the list of acceptable MediaType, as specified by the Accept header.
- setLocation
Set the (new) location of a resource, as specified by the Location header.
- put
- putAll
- containsKey