Uses of Class
rocks.xmpp.extensions.shim.model.Headers
-
Packages that use Headers Package Description rocks.xmpp.extensions.shim.model Provides XML schema implementations of XEP-0131: Stanza Headers and Internet Metadata. -
-
Uses of Headers in rocks.xmpp.extensions.shim.model
Methods in rocks.xmpp.extensions.shim.model that return Headers Modifier and Type Method Description static Headers
Headers. of(Collection<Header> headers)
Creates a headers element.static Headers
Headers. of(Map<String,String> headers)
Creates a headers element from a map.static Headers
Headers. of(Header... headers)
Creates a headers element.static Headers
Headers. ofTimePeriod(OffsetDateTime start, OffsetDateTime stop)
Creates a headers element with a time period.Headers
Headers. withHeader(String name, String value)
Creates a new headers extension with an additional header.Headers
Headers. withHeader(Header header)
Creates a new headers extension with an additional header.Headers
Headers. withoutHeader(String name)
Removes a header from this collection.
-