| 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 Headers |
Headers.of(Collection<Header> headers)
Creates a headers element.
|
static Headers |
Headers.of(Header... headers)
Creates a headers element.
|
static Headers |
Headers.of(Map<String,String> headers)
Creates a headers element from a map.
|
static Headers |
Headers.ofTimePeriod(OffsetDateTime start,
OffsetDateTime stop)
Creates a headers element with a time period.
|
Headers |
Headers.withHeader(Header header)
Creates a new headers extension with an additional header.
|
Headers |
Headers.withHeader(String name,
String value)
Creates a new headers extension with an additional header.
|
Headers |
Headers.withoutHeader(String name)
Removes a header from this collection.
|
Copyright © 2014–2017 XMPP.rocks. All rights reserved.