public class SimpleHttpHeaders extends Object implements MutableHttpHeaders
MutableHttpHeaders implementation.GMTACCEPT, ACCEPT_CH, ACCEPT_CH_LIFETIME, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ACCEPT_PATCH, ACCEPT_RANGES, ACCESS_CONTROL_ALLOW_CREDENTIALS, ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS, ACCESS_CONTROL_ALLOW_ORIGIN, ACCESS_CONTROL_EXPOSE_HEADERS, ACCESS_CONTROL_MAX_AGE, ACCESS_CONTROL_REQUEST_HEADERS, ACCESS_CONTROL_REQUEST_METHOD, AGE, ALLOW, AUTHORIZATION, AUTHORIZATION_INFO, CACHE_CONTROL, CONNECTION, CONTENT_BASE, CONTENT_DISPOSITION, CONTENT_DPR, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_MD5, CONTENT_RANGE, CONTENT_TRANSFER_ENCODING, CONTENT_TYPE, COOKIE, CROSS_ORIGIN_RESOURCE_POLICY, DATE, DEVICE_MEMORY, DOWNLINK, DPR, ECT, ETAG, EXPECT, EXPIRES, FEATURE_POLICY, FORWARDED, FROM, HOST, IF_MATCH, IF_MODIFIED_SINCE, IF_NONE_MATCH, IF_RANGE, IF_UNMODIFIED_SINCE, LAST_MODIFIED, LINK, LOCATION, MAX_FORWARDS, ORIGIN, PRAGMA, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, RANGE, REFERER, REFERRER_POLICY, RETRY_AFTER, RTT, SAVE_DATA, SEC_WEBSOCKET_ACCEPT, SEC_WEBSOCKET_KEY, SEC_WEBSOCKET_KEY1, SEC_WEBSOCKET_KEY2, SEC_WEBSOCKET_LOCATION, SEC_WEBSOCKET_ORIGIN, SEC_WEBSOCKET_PROTOCOL, SEC_WEBSOCKET_VERSION, SERVER, SET_COOKIE, SET_COOKIE2, SOURCE_MAP, STANDARD_HEADERS, TE, TRAILER, TRANSFER_ENCODING, UPGRADE, USER_AGENT, VARY, VIA, VIEWPORT_WIDTH, WARNING, WEBSOCKET_LOCATION, WEBSOCKET_ORIGIN, WEBSOCKET_PROTOCOL, WIDTH, WWW_AUTHENTICATE, X_AUTH_TOKENEMPTY| Constructor and Description | 
|---|
| SimpleHttpHeaders(ConversionService conversionService)Map-based implementation of  MutableHttpHeaders. | 
| SimpleHttpHeaders(Map<String,String> headers,
                 ConversionService conversionService)Map-based implementation of  MutableHttpHeaders. | 
| Modifier and Type | Method and Description | 
|---|---|
| MutableHttpHeaders | add(CharSequence header,
   CharSequence value)Add a header for the given name and value. | 
| String | get(CharSequence name)Get a value without applying any conversion. | 
| <T> Optional<T> | get(CharSequence name,
   ArgumentConversionContext<T> conversionContext)Resolve the given property for the given name. | 
| List<String> | getAll(CharSequence name)Get all the values for the given name without applying conversion. | 
| Set<String> | names() | 
| MutableHttpHeaders | remove(CharSequence header)Removes a header. | 
| Collection<List<String>> | values() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, allow, allow, allowGeneric, auth, auth, contentType, date, date, expires, expires, ifModifiedSince, ifModifiedSince, lastModified, lastModified, location, setaccept, contentLength, contentType, findDate, findFirst, findInt, getAuthorization, getContentType, getDate, getInt, getOrigin, isKeepAliveempty, forEach, forEachValue, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iterator, ofasMap, asMap, asProperties, contains, getValue, getValueType, of, subMap, subMap, subMapget, get, getforEach, spliteratorpublic SimpleHttpHeaders(Map<String,String> headers, ConversionService conversionService)
MutableHttpHeaders.headers - The headersconversionService - The conversion servicepublic SimpleHttpHeaders(ConversionService conversionService)
MutableHttpHeaders.conversionService - The conversion servicepublic <T> Optional<T> get(CharSequence name, ArgumentConversionContext<T> conversionContext)
ValueResolverget in interface ValueResolver<CharSequence>T - The concrete typename - The nameconversionContext - The conversion contextpublic List<String> getAll(CharSequence name)
ConvertibleMultiValuesgetAll in interface ConvertibleMultiValues<String>name - The header namepublic Set<String> names()
names in interface ConvertibleValues<List<String>>public Collection<List<String>> values()
values in interface ConvertibleValues<List<String>>public String get(CharSequence name)
ConvertibleMultiValuesget in interface ConvertibleMultiValues<String>name - The name of the valueConvertibleMultiValues.getFirst(CharSequence)public MutableHttpHeaders add(CharSequence header, CharSequence value)
MutableHttpHeadersadd in interface MutableHeadersadd in interface MutableHttpHeadersheader - The header namevalue - The valuepublic MutableHttpHeaders remove(CharSequence header)
MutableHeadersremove in interface MutableHeadersremove in interface MutableHttpHeadersheader - The header to remove