public interface Header extends Indexed<String>
Modifier and Type | Method and Description |
---|---|
void |
fromMessage(Message<?> message)
Populates the content of the header from the specified message.
|
void |
fromString(String string)
Populates the content of the header from the specified string value.
|
String |
getKey()
Returns the name of the header, as it would canonically appear within an HTTP message.
|
void |
toMessage(Message<?> message)
Sets the header in the specified message.
|
String |
toString()
Returns the header as a single string value.
|
String getKey()
void fromMessage(Message<?> message)
message
- The message to get the content of the header from.void fromString(String string)
string
- The string to populate the content of the header from.void toMessage(Message<?> message)
message
- The message to which add the current header.Copyright © 2014 ForgeRock AS. All rights reserved.