|Modifier and Type||Method and Description|
Perform a case-insensitive search for a particular header in this request, returning the first matching header, if one is found.
Returns a map of all HTTP headers in this message, sorted in case-insensitive order by their header name.
This will never be null. If there are no headers an empty map is returned.
This is useful for headers like 'Content-Type' or 'Content-Length' of which there is expected to be only one value present.
This is equivalent to invoking
header- The header to search for (case insensitively).