public interface RequestHeaderFields extends HeaderFields<RequestCookie,RequestHeaderFields>
RequestHeaderFields
reflect the structure of a HTTP header and
may be used to represent a HTTP header.BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator, BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
BASIC_REALM
Modifier and Type | Method and Description |
---|---|
default RequestCookie |
addCookie(String aHttpCookie)
Adds an individual server-side cookie to be sent to the client to this
ResponseHeaderFields instance. |
addCookie, addCookie, addTo, addTo, addTo, get, getAcceptCharsets, getAcceptEncodings, getAcceptTypes, getAllCookies, getAllowMethods, getAuthenticate, getBasicAuth, getBasicAuthCredentials, getContentEncoding, getContentType, getCookies, getCorrelationId, getFirst, getFirstCookie, getHost, getUserAgent, put, put, put, putAcceptCharsets, putAcceptCharsets, putAcceptEncodings, putAcceptEncodings, putAcceptTypes, putAcceptTypes, putAllowMethods, putAllowMethods, putAuthenticate, putBasicAuthCredentials, putBasicAuthRequired, putContentEncoding, putContentType, putContentType, putCorrelationId, putHost, putUserAgent, remove, removeAcceptCharsets, removeAcceptEncodings, removeAcceptTypes, removeAllowMethods, removeAuthenticate, removeBasicAuthCredentials, removeBasicAuthenticate, removeContentEncoding, removeContentType, removeCorrelationId, removeHost, removeUserAgent, toBasicAuthRealm, toHeaderFields, toHttpCookies, withAcceptCharsets, withAcceptCharsets, withAcceptEncodings, withAcceptEncodings, withAcceptTypes, withAcceptTypes, withAddCookie, withAddCookie, withAddTo, withAddTo, withAddTo, withAllowMethods, withAllowMethods, withAuthenticate, withBasicAuthCredentials, withBasicAuthCredentials, withBasicAuthRequired, withContentEncoding, withContentType, withContentType, withCorrelationId, withHost, withPut, withPut, withPut, withUserAgent
addTo, addTo, addTo, getFirst, put, put, toField, withAddTo, withAddTo, withAddTo, 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
putBasicAuthCredentials
default RequestCookie addCookie(String aHttpCookie)
HeaderFields
ResponseHeaderFields
instance. The server-side cookies are
retrieved from the #HEADER_SET_FIELD_COOKIE
header field.
WITH THE METHOD HeaderFields.getAllCookies()
and HeaderFields.getCookies(String)
as well as HeaderFields.getFirstCookie(String)
ONLY THE COOKIES SENT BY THE
CLIENT CAN BE RETRIEVED. (E.G. COOKIES RESIDING IN THE HEADER FIELD
#HEADER_FIELD_COOKIE). COOKIES SET VIA HeaderFields.addCookie(String, String)
OR HeaderFields.withAddCookie(String, String)
CANNOT BE RETRIEVED, AS THE
COOKIES BEING SET SERVER-SIDE ARE PUT IN THE #HEADER_FIELD_COOKIE
.addCookie
in interface HeaderFields<RequestCookie,RequestHeaderFields>
aHttpCookie
- The HTTP-Cookie String
to be paresd as a
cookie.ResponseHeaderFields
instance!Copyright © 2017. All rights reserved.