static Header |
Header.of(String name,
String value) |
Creates a header.
|
static Header |
Header.ofClassification(String value) |
Creates a 'Classification' header.
|
static Header |
Header.ofCreated(OffsetDateTime dateTime) |
Creates a header which specifies the date and time when a stanza was created by the originating entity.
|
static Header |
Header.ofDistribute(boolean distribute) |
The Distribute header enables a sender to specify whether the stanza may be further distributed by the recipient
to other entities on the network.
|
static Header |
Header.ofStartDate(OffsetDateTime dateTime) |
Creates a header with a start date.
|
static Header |
Header.ofStopDate(OffsetDateTime dateTime) |
Creates a header with a stop date.
|
static Header |
Header.ofStore(boolean store) |
The Store header enables a sender to specify whether the stanza may be stored or archived by the recipient.
|
static Header |
Header.ofTimeToLive(Duration timeToLive) |
Specifies that the information contained in a stanza is valid only for a limited period of time.
|
static Header |
Header.ofUrgency(String urgency) |
Specifies that the information contained in a stanza is more or less time-sensitive.
|