Package | Description |
---|---|
org.forgerock.http.header |
Processes HTTP message header fields.
|
Modifier and Type | Method and Description |
---|---|
static Warning |
Warning.valueOf(String value)
Parses a warning-header value (part after
Warning: ). |
Modifier and Type | Method and Description |
---|---|
List<Warning> |
WarningHeader.getWarnings()
Gets all
Warning s. |
protected static List<Warning> |
WarningHeader.toWarnings(List<String> headers)
Matches warning-headers from a
List of header-values. |
Modifier and Type | Method and Description |
---|---|
WarningHeader |
WarningHeader.add(Warning warning)
Constructs a new header with the warnings defined in this
WarningHeader in addition to the provided warning. |
Constructor and Description |
---|
WarningHeader(Warning warning)
Constructor for single
Warning . |
Constructor and Description |
---|
WarningHeader(List<Warning> warnings)
Constructor for multiple
Warning s. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.