Uses of Class
org.forgerock.http.protocol.Header
-
Packages that use Header Package Description org.forgerock.http.header Processes HTTP message header fields.org.forgerock.http.protocol Models and manages elements of the Hypertext Transfer Protocol. -
-
Uses of Header in org.forgerock.http.header
Classes in org.forgerock.http.header with type parameters of type Header Modifier and Type Class Description class
HeaderFactory<H extends Header>
Creates instances ofHeader
classes from String representation.Subclasses of Header in org.forgerock.http.header Modifier and Type Class Description class
AbstractSetCookieHeader
An abstract SetCookieHeader class forSetCookieHeader
andSetCookie2Header
.class
AcceptApiVersionHeader
Processes theAccept-API-Version
message header.class
AcceptLanguageHeader
A header class representing the Accept-Language HTTP header.class
AuthorizationHeader
A header class representing theAuthorization
HTTP header.class
ConnectionHeader
Processes theConnection
message header.class
ContentApiVersionHeader
Processes theContent-API-Version
message header.class
ContentEncodingHeader
Processes theContent-Encoding
message header.class
ContentLengthHeader
Processes theContent-Length
message header.class
ContentTypeHeader
Processes theContent-Type
message header.class
CookieHeader
Processes theCookie
request message header.class
ForwardedHeader
AHeader
representation of theForwarded
HTTP header.class
GenericHeader
An undecoded HTTP message header.class
LocationHeader
Processes theLocation
message header.class
ReferrerHeader
AHeader
representation of theReferrer
HTTP header.class
SetCookie2Header
Deprecated, for removal: This API element is subject to removal in a future version.This header is no longer supported by browsers.class
SetCookieHeader
Processes theSet-Cookie
request message header.class
TrailerHeader
AHeader
representation of theTrailer
HTTP response header.class
TransactionIdHeader
Processes the transactionId header used mainly for audit purpose.class
WarningHeader
Processes theWarning
message header.class
WwwAuthenticateHeader
AHeader
representation of the WWW-Authenticate HTTP header.class
XForwardedForHeader
Processes theX-Forwarded-For
message header.Fields in org.forgerock.http.header with type parameters of type Header Modifier and Type Field Description static Map<Class<? extends Header>,String>
HeaderFactory. HEADER_NAMES
A map ofHeader
types to the names of the headers they implement. -
Uses of Header in org.forgerock.http.protocol
Methods in org.forgerock.http.protocol with type parameters of type Header Modifier and Type Method Description <H extends Header>
HHeaders. get(Class<H> headerType)
Returns the specifiedHeader
or {code null} if the header is not included in the message.Methods in org.forgerock.http.protocol that return Header Modifier and Type Method Description Header
Headers. get(Object key)
Rich-type friendly get method.Header
Headers. put(String key, Object value)
A script compatible put method that will accept aHeader
,String
,Collection<String>
andString[]
value.Header
Headers. put(Header header)
A put method to add a particularHeader
instance.Header
Headers. remove(Object key)
Rich-type friendly remove method.Methods in org.forgerock.http.protocol that return types with arguments of type Header Modifier and Type Method Description Map<String,Header>
Headers. asMapOfHeaders()
TheHeaders
class extendsMap<String, Object>
to support flexible parameters in scripting.Methods in org.forgerock.http.protocol with parameters of type Header Modifier and Type Method Description void
Headers. add(Header header)
An add method to add a particularHeader
instance.M
Message. addHeaders(Header... headers)
Add one or more headers to the message.T
MessageImpl. addHeaders(Header... headers)
Response
Response. addTrailers(Header... trailers)
Add one or more trailers, aka trailing headers, to the response.Header
Headers. put(Header header)
A put method to add a particularHeader
instance.M
Message. putHeaders(Header... headers)
Put one or more headers to the message.T
MessageImpl. putHeaders(Header... headers)
Response
Response. putTrailers(Header... trailers)
Put one or more trailers, aka trailing headers, to the response.Method parameters in org.forgerock.http.protocol with type arguments of type Header Modifier and Type Method Description String
Headers. getFirst(Class<? extends Header> key)
Gets the first value of the header, or null if the header does not exist.
-