Uses of Class
rocks.xmpp.extensions.shim.model.Header
-
Packages that use Header Package Description rocks.xmpp.extensions.shim.model Provides XML schema implementations of XEP-0131: Stanza Headers and Internet Metadata. -
-
Uses of Header in rocks.xmpp.extensions.shim.model
Methods in rocks.xmpp.extensions.shim.model that return Header Modifier and Type Method Description 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.Methods in rocks.xmpp.extensions.shim.model that return types with arguments of type Header Modifier and Type Method Description List<Header>
Headers. getHeaders()
Gets the headers.Methods in rocks.xmpp.extensions.shim.model with parameters of type Header Modifier and Type Method 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.Method parameters in rocks.xmpp.extensions.shim.model with type arguments of type Header Modifier and Type Method Description static Headers
Headers. of(Collection<Header> headers)
Creates a headers element.
-