| Package | Description |
|---|---|
| org.forgerock.http.header |
| 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
Warnings. |
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
Warnings. |
Copyright © 2025 Open Identity Platform Community. All rights reserved.