Package | Description |
---|---|
org.forgerock.http.header |
Processes HTTP message header fields.
|
org.forgerock.http.protocol |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.util |
Miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
protected abstract H |
HeaderFactory.parse(List<String> values)
Create a header instance from a list of String representations, each of
which may in turn contain multiple values if the header supports them.
|
H |
HeaderFactory.parse(Object value)
Create a header instance from a provided object representation.
|
protected abstract H |
HeaderFactory.parse(String value)
Create a header instance from String representation, which may contain
multiple values if the header supports them.
|
static SetCookie2Header |
SetCookie2Header.valueOf(List<String> values)
Constructs a new header, initialized from the specified list of
Set-Cookie2 values. |
static TransactionIdHeader |
TransactionIdHeader.valueOf(Request request)
Constructs a new header, initialized from the specified request.
|
static SetCookie2Header |
SetCookie2Header.valueOf(Response response)
Constructs a new header, initialized from the specified response message.
|
static TransactionIdHeader |
TransactionIdHeader.valueOf(String value)
Constructs a new header, initialized from the specified string value.
|
static SetCookie2Header |
SetCookie2Header.valueOf(String value)
Constructs a new header, initialized from the specified string value.
|
Constructor and Description |
---|
TransactionIdHeader(String value)
Constructs a new header with the provided value for the transaction id.
|
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 |
---|---|
static com.fasterxml.jackson.databind.ObjectWriter |
Json.makeLocalizingObjectWriter(com.fasterxml.jackson.databind.ObjectMapper mapper,
Request request)
Make an object writer that contains the locales from the request for serialization of
LocalizableString
instances. |
Copyright © 2010-2020, ForgeRock All Rights Reserved.