BasicAuthCredentialsAccessor
, BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<ResponseHeaderFields>
, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
, BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
, BearerAuthCredentialsAccessor
, BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<ResponseHeaderFields>
, BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator
, BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
, HeaderFields<ResponseCookie,ResponseHeaderFields>
, HttpFields<ResponseHeaderFields>
, Map<String,List<String>>
ResponseHeaderFieldsImpl
public interface ResponseHeaderFields extends HeaderFields<ResponseCookie,ResponseHeaderFields>
ResponseHeaderFields
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
BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<B extends BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder<B>>, BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator, BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
BASIC_REALM
Modifier and Type | Method | Description |
---|---|---|
default ResponseCookie |
addCookie(String aHttpCookie) |
Adds an individual server-side cookie to be sent to the client to this
ResponseHeaderFields instance. |
putBasicAuthCredentials
putBearerAuthCredentials
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
default ResponseCookie addCookie(String aHttpCookie)
ResponseHeaderFields
instance. The server-side cookies are
retrieved from the HeaderField.SET_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
HeaderField.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
HeaderField.SET_COOKIE
Header-Field.addCookie
in interface HeaderFields<ResponseCookie,ResponseHeaderFields>
aHttpCookie
- The HTTP-Cookie String
to be paresd as a
cookie.ResponseHeaderFields
instance!Copyright © 2018. All rights reserved.