public interface Headers extends MultiValued<String,String>
Modifier and Type | Interface and Description |
---|---|
static interface |
Headers.Names
HTTP Header Names.
|
static interface |
Headers.Values
HTTP Header Values.
|
Modifier and Type | Method and Description |
---|---|
static Optional<String> |
extractCharset(String contentTypeHeaderValue)
Extract charset information from Content-Type string value.
|
static Optional<String> |
extractContentMimeType(String contentTypeHeaderValue)
Extract MimeType information from Content-Type string value removing options such as Charset.
|
allValues, firstValue, firstValueOptional, firstValues, has, isEmpty, keys, lastValue, lastValueOptional, lastValues, singleValue, singleValueOptional, singleValues, values
static Optional<String> extractContentMimeType(String contentTypeHeaderValue)
contentTypeHeaderValue
- Content-Type string value