| 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(String name,
String value)
Creates a header.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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(Collection<Header> headers)
Creates a headers element.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.