Package | Description |
---|---|
rocks.xmpp.extensions.shim.model |
Provides XML schema implementations of XEP-0131: Stanza Headers and Internet Metadata.
|
Modifier and Type | Method and Description |
---|---|
static Header |
Header.of(java.lang.String name,
java.lang.String value)
Creates a header.
|
static Header |
Header.ofStartDate(java.time.OffsetDateTime dateTime)
Creates a header with a start date.
|
static Header |
Header.ofStopDate(java.time.OffsetDateTime dateTime)
Creates a header with a stop date.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Header> |
Headers.getHeaders()
Gets the headers.
|
Modifier and Type | Method and Description |
---|---|
static Headers |
Headers.of(Header... headers)
Creates a headers element.
|
Headers |
Headers.withHeader(Header header)
Creates a new headers extension with an additional header.
|
Modifier and Type | Method and Description |
---|---|
static Headers |
Headers.of(java.util.Collection<Header> headers)
Creates a headers element.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.