Package | Description |
---|---|
org.forgerock.http.header | |
org.forgerock.http.protocol |
Modifier and Type | Class and Description |
---|---|
class |
HeaderFactory<H extends Header>
Creates instances of
Header classes from String representation. |
Modifier and Type | Class and Description |
---|---|
class |
AcceptApiVersionHeader
Processes the
Accept-API-Version message header. |
class |
AcceptLanguageHeader
A header class representing the Accept-Language HTTP header.
|
class |
ConnectionHeader
Processes the
Connection message header. |
class |
ContentApiVersionHeader
Processes the
Content-API-Version message header. |
class |
ContentEncodingHeader
Processes the
Content-Encoding message header. |
class |
ContentLengthHeader
Processes the
Content-Length message header. |
class |
ContentTypeHeader
Processes the
Content-Type message header. |
class |
CookieHeader
Processes the
Cookie request message header. |
class |
GenericHeader
An undecoded HTTP message header.
|
class |
LocationHeader
Processes the
Location message header. |
class |
SetCookieHeader
Processes the
Set-Cookie request message header. |
class |
TransactionIdHeader
Processes the transactionId header used mainly for audit purpose.
|
class |
WarningHeader
Processes the
Warning message header. |
Modifier and Type | Field and Description |
---|---|
static Map<Class<? extends Header>,String> |
HeaderFactory.HEADER_NAMES
A map of
Header types to the names of the headers they
implement. |
Modifier and Type | Method and Description |
---|---|
<H extends Header> |
Headers.get(Class<H> headerType)
Returns the specified
Header or {code null} if the header is not included in the message. |
Modifier and Type | Method and Description |
---|---|
Header |
Headers.get(Object key)
Rich-type friendly get method.
|
Header |
Headers.put(Header header)
A put method to add a particular
Header instance. |
Header |
Headers.put(String key,
Object value)
A script compatible put method that will accept a
Header , String , Collection<String>
and String[] value. |
Header |
Headers.remove(Object key)
Rich-type friendly remove method.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Header> |
Headers.asMapOfHeaders()
The
Headers class extends Map<String, Object> to support flexible parameters in scripting. |
Modifier and Type | Method and Description |
---|---|
void |
Headers.add(Header header)
An add method to add a particular
Header instance. |
Header |
Headers.put(Header header)
A put method to add a particular
Header instance. |
Modifier and Type | Method and Description |
---|---|
String |
Headers.getFirst(Class<? extends Header> key)
Gets the first value of the header, or null if the header does not exist.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.