Serializable
, Cloneable
, Map<String,List<String>>
, BasicAuthCredentialsAccessor
, BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<RequestHeaderFields>
, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
, BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
, BearerAuthCredentialsAccessor
, BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<RequestHeaderFields>
, BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator
, BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
, HeaderFields<RequestCookie,RequestHeaderFields>
, HttpFields<RequestHeaderFields>
, RequestHeaderFields
public class RequestHeaderFieldsImpl extends AbstractHeaderFields<RequestCookie,RequestHeaderFields> implements RequestHeaderFields
HeaderFields
interface.AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator, BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<B extends BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<B>>, BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator, BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
BASIC_REALM
Constructor | Description |
---|---|
RequestHeaderFieldsImpl() |
Instantiates a new request Header-Fields impl.
|
RequestHeaderFieldsImpl(Map<String,List<String>> aFromHeaderFields) |
Instantiates a new request Header-Fields impl.
|
Modifier and Type | Method | Description |
---|---|---|
protected RequestCookie |
createCookie(String aHttpCookie) |
|
protected RequestCookie |
createCookie(String aCookieName,
String aValue) |
Creates a plain
Cookie with the given name and value. |
protected String |
getCookieFieldName() |
The Header-Field name for the
Cookie elements. |
addCookie, addCookie, addTo, entrySet, get, getAllCookies, isCommaSeparatedHeaderField, keySet, put, putAll, toHeaderField, toHeaderFields
copyHttpFields
equals, hashCode, toString
putBasicAuthCredentials
putBearerAuthCredentials
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, getOrDefault, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
addCookie, addCookie, addTo, addTo, addTo, get, getAcceptCharsets, getAcceptEncodings, getAcceptTypes, getAllCookies, getAllowMethods, getAuthenticate, getBasicAuth, getBasicAuthCredentials, getBearerAuthCredentials, getContentEncoding, getContentType, getCookies, getFirst, getFirstCookie, getHost, getRequestId, getSessionId, getUnknownAcceptTypes, getUnknownContentTypes, getUserAgent, put, put, put, putAcceptCharsets, putAcceptCharsets, putAcceptEncodings, putAcceptEncodings, putAcceptTypes, putAcceptTypes, putAllowMethods, putAllowMethods, putAuthenticate, putBasicAuthCredentials, putBasicAuthRequired, putBearerAuthCredentials, putContentEncoding, putContentType, putContentType, putHost, putRequestId, putSessionId, putUserAgent, remove, removeAcceptCharsets, removeAcceptEncodings, removeAcceptTypes, removeAllowMethods, removeAuthenticate, removeBasicAuthCredentials, removeBasicAuthenticate, removeBearerAuthCredentials, removeContentEncoding, removeContentType, removeHost, removeRequestId, removeSessionId, removeUserAgent, toBasicAuthRealm, toHeaderFields, toHttpCookies, withAcceptCharsets, withAcceptCharsets, withAcceptEncodings, withAcceptEncodings, withAcceptTypes, withAcceptTypes, withAddCookie, withAddCookie, withAddTo, withAddTo, withAddTo, withAllowMethods, withAllowMethods, withAuthenticate, withBasicAuthCredentials, withBasicAuthCredentials, withBasicAuthRequired, withBearerAuthCredentials, withBearerAuthCredentials, withContentEncoding, withContentType, withContentType, withHost, withPut, withPut, withPut, withRequestId, withSessionId, withUserAgent
addTo, addTo, addTo, addTo, addTo, addTo, getFirst, getFirst, put, put, put, put, toField, toField, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withPut, withPut, withPut, withPut, withPut, withPut
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
addCookie
public RequestHeaderFieldsImpl()
protected String getCookieFieldName()
Cookie
elements. The Header-Field
name differs from the context, e.g. when setting a Cookie
server-side or when retrieving a Cookie
client-side.getCookieFieldName
in class AbstractHeaderFields<RequestCookie,RequestHeaderFields>
Cookie
elements are stored.protected RequestCookie createCookie(String aCookieName, String aValue)
Cookie
with the given name and value.createCookie
in class AbstractHeaderFields<RequestCookie,RequestHeaderFields>
aCookieName
- The name of the Cookie
.aValue
- The value for the Cookie
Cookie
with the given name and value.protected RequestCookie createCookie(String aHttpCookie)
createCookie
in class AbstractHeaderFields<RequestCookie,RequestHeaderFields>
aHttpCookie
- The text of the Header-Field for the cookie to be
created.Cookie
with the given cookie properties.Copyright © 2018. All rights reserved.