Package | Description |
---|---|
org.forgerock.http.header |
Processes HTTP message header fields.
|
Modifier and Type | Method and Description |
---|---|
WarningHeader |
WarningHeader.add(int code,
String agent,
String text)
Constructs a new header with the warnings defined in this
WarningHeader in addition to the provided warning. |
WarningHeader |
WarningHeader.add(int code,
String agent,
String text,
Date date)
Constructs a new header with the warnings defined in this
WarningHeader in addition to the provided warning. |
WarningHeader |
WarningHeader.add(Warning warning)
Constructs a new header with the warnings defined in this
WarningHeader in addition to the provided warning. |
static WarningHeader |
WarningHeader.newWarning(String agentName,
String fmt,
Object... args)
Constructs a new warning header with the frequently-used error type:
100.
|
static WarningHeader |
WarningHeader.valueOf(Message<?> message)
Constructs a new header, initialized from the specified message.
|
static WarningHeader |
WarningHeader.valueOf(String header)
Constructs a new header, initialized from the specified string value.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.