Uses of Class
org.jivesoftware.smack.packet.MessageBuilder
-
Packages that use MessageBuilder Package Description org.jivesoftware.smack Core classes of the Smack API.org.jivesoftware.smack.chat Smacks legacy API for 1:1 chats.org.jivesoftware.smack.chat2 Smack's new improved API for 1:1 chats.org.jivesoftware.smack.packet XML stanzas and extension elements that are part of the XMPP protocol.org.jivesoftware.smackx.carbons.packet Stanzas and extension elements for XEP-0280: Message Carbons.org.jivesoftware.smackx.eme.element XMPP extension elements for XEP-0380: Explicit Message Encryption.org.jivesoftware.smackx.fallback_indication Smack's API for XEP-0428: Fallback Indication.org.jivesoftware.smackx.hints.element XMPP extension elements for XEP-0334: Message Processing Hints.org.jivesoftware.smackx.message_fastening.element XEP-0422: Message Fastening.org.jivesoftware.smackx.message_retraction XEP-0424: Message Retraction.org.jivesoftware.smackx.muc Classes and Interfaces that implement Multi-User Chat (MUC) as defined in XEP-0045.org.jivesoftware.smackx.muclight Classes and Interfaces that implement Multi-User Chat Light (MUC Light).org.jivesoftware.smackx.omemo Classes and interfaces for OMEMO Encryption.org.jivesoftware.smackx.ox_im Smack API for XEP-0374: OpenPGP for XMPP: Instant Messaging.org.jivesoftware.smackx.receipts XEP-0184: Message Delivery Receipts.org.jivesoftware.smackx.sid.element Smack's API for XEP-0359: Stable and Unique Stanza IDs.org.jivesoftware.smackx.xhtmlim Smacks implementation of XEP-0071: XHTML-IM. -
-
Uses of MessageBuilder in org.jivesoftware.smack
Method parameters in org.jivesoftware.smack with type arguments of type MessageBuilder Modifier and Type Method Description void
AbstractXMPPConnection. addMessageInterceptor(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter)
void
XMPPConnection. addMessageInterceptor(Consumer<MessageBuilder> messageInterceptor, Predicate<Message> messageFilter)
Registers a stanza interceptor with this connection.void
AbstractXMPPConnection. removeMessageInterceptor(Consumer<MessageBuilder> messageInterceptor)
void
XMPPConnection. removeMessageInterceptor(Consumer<MessageBuilder> messageInterceptor)
Removes a message interceptor. -
Uses of MessageBuilder in org.jivesoftware.smack.chat
Methods in org.jivesoftware.smack.chat with parameters of type MessageBuilder Modifier and Type Method Description void
Chat. sendMessage(MessageBuilder message)
Deprecated.Sends a message to the other chat participant. -
Uses of MessageBuilder in org.jivesoftware.smack.chat2
Methods in org.jivesoftware.smack.chat2 with parameters of type MessageBuilder Modifier and Type Method Description void
OutgoingChatMessageListener. newOutgoingMessage(EntityBareJid to, MessageBuilder messageBuilder, Chat chat)
-
Uses of MessageBuilder in org.jivesoftware.smack.packet
Methods in org.jivesoftware.smack.packet that return MessageBuilder Modifier and Type Method Description MessageBuilder
MessageBuilder. addBody(java.lang.String language, java.lang.String body)
Adds a body with a corresponding language.MessageBuilder
MessageBuilder. addSubject(java.lang.String language, java.lang.String subject)
Adds a subject with a corresponding language.MessageBuilder
Message. asBuilder()
MessageBuilder
Message. asBuilder(java.lang.String id)
MessageBuilder
Message. asBuilder(XMPPConnection connection)
static MessageBuilder
StanzaBuilder. buildMessage()
static MessageBuilder
StanzaBuilder. buildMessage(java.lang.String stanzaId)
static MessageBuilder
StanzaBuilder. buildMessageFrom(Message message, java.lang.String stanzaId)
static MessageBuilder
StanzaBuilder. buildMessageFrom(Message message, StanzaIdSource stanzaIdSource)
MessageBuilder
StanzaFactory. buildMessageStanza()
MessageBuilder
StanzaFactory. buildMessageStanzaFrom(Message message)
MessageBuilder
MessageBuilder. getThis()
MessageBuilder
MessageBuilder. ofType(Message.Type type)
MessageBuilder
MessageBuilder. setBody(java.lang.CharSequence body)
Sets the body of the message.MessageBuilder
MessageBuilder. setBody(java.lang.String body)
Sets the body of the message.MessageBuilder
MessageBuilder. setSubject(java.lang.String subject)
Sets the subject of the message.MessageBuilder
MessageBuilder. setThread(java.lang.String thread)
MessageBuilder
MessageBuilder. setThread(java.lang.String thread, java.lang.String parent)
-
Uses of MessageBuilder in org.jivesoftware.smackx.carbons.packet
Methods in org.jivesoftware.smackx.carbons.packet with parameters of type MessageBuilder Modifier and Type Method Description static void
CarbonExtension.Private. addTo(MessageBuilder messageBuilder)
Marks a message "private", so that it will not be carbon-copied, by adding private packet extension to the message. -
Uses of MessageBuilder in org.jivesoftware.smackx.eme.element
Methods in org.jivesoftware.smackx.eme.element with parameters of type MessageBuilder Modifier and Type Method Description static void
ExplicitMessageEncryptionElement. set(MessageBuilder message, ExplicitMessageEncryptionElement.ExplicitMessageEncryptionProtocol protocol)
Add an EME element containing the specifiedprotocol
namespace to the message. -
Uses of MessageBuilder in org.jivesoftware.smackx.fallback_indication
Methods in org.jivesoftware.smackx.fallback_indication that return MessageBuilder Modifier and Type Method Description static MessageBuilder
FallbackIndicationManager. addFallbackIndication(MessageBuilder messageBuilder)
Add aFallbackIndicationElement
to the provided message builder.static MessageBuilder
FallbackIndicationManager. addFallbackIndicationWithBody(MessageBuilder messageBuilder, java.lang.String fallbackMessageBody)
Set the body of the message to the provided fallback message and add aFallbackIndicationElement
.Methods in org.jivesoftware.smackx.fallback_indication with parameters of type MessageBuilder Modifier and Type Method Description static MessageBuilder
FallbackIndicationManager. addFallbackIndication(MessageBuilder messageBuilder)
Add aFallbackIndicationElement
to the provided message builder.static MessageBuilder
FallbackIndicationManager. addFallbackIndicationWithBody(MessageBuilder messageBuilder, java.lang.String fallbackMessageBody)
Set the body of the message to the provided fallback message and add aFallbackIndicationElement
. -
Uses of MessageBuilder in org.jivesoftware.smackx.hints.element
Methods in org.jivesoftware.smackx.hints.element with parameters of type MessageBuilder Modifier and Type Method Description static void
StoreHint. set(MessageBuilder message)
-
Uses of MessageBuilder in org.jivesoftware.smackx.message_fastening.element
Methods in org.jivesoftware.smackx.message_fastening.element with parameters of type MessageBuilder Modifier and Type Method Description void
FasteningElement. applyTo(MessageBuilder messageBuilder)
Add this element to the provided message builder.static boolean
FasteningElement. hasFasteningElement(MessageBuilder builder)
Return true if the providedMessageBuilder
contains aFasteningElement
. -
Uses of MessageBuilder in org.jivesoftware.smackx.message_retraction
Methods in org.jivesoftware.smackx.message_retraction with parameters of type MessageBuilder Modifier and Type Method Description static void
MessageRetractionManager. addRetractionElementToMessage(OriginIdElement retractedMessageId, MessageBuilder carrierMessageBuilder)
Append aRetractElement
wrapped inside aFasteningElement
which contains theOrigin-ID
of the message that will be retracted to the givenMessageBuilder
. -
Uses of MessageBuilder in org.jivesoftware.smackx.muc
Methods in org.jivesoftware.smackx.muc that return MessageBuilder Modifier and Type Method Description MessageBuilder
MultiUserChat. buildMessage()
Constructs a new message builder for messages send to this MUC room.Methods in org.jivesoftware.smackx.muc with parameters of type MessageBuilder Modifier and Type Method Description void
MucMessageInterceptor. intercept(MessageBuilder messageBuilder, MultiUserChat multiUserChat)
void
MultiUserChat. invite(MessageBuilder messageBuilder, EntityBareJid user, java.lang.String reason)
Invites another user to the room in which one is an occupant using a given Message.MessageView
MultiUserChat. sendMessage(MessageBuilder messageBuilder)
Sends a Message to the chat room. -
Uses of MessageBuilder in org.jivesoftware.smackx.muclight
Methods in org.jivesoftware.smackx.muclight that return MessageBuilder Modifier and Type Method Description MessageBuilder
MultiUserChatLight. buildMessage()
Constructs a new message builder for messages send to this MUC room.Methods in org.jivesoftware.smackx.muclight with parameters of type MessageBuilder Modifier and Type Method Description void
MultiUserChatLight. sendMessage(MessageBuilder messageBuilder)
Sends a Message to the chat room. -
Uses of MessageBuilder in org.jivesoftware.smackx.omemo
Methods in org.jivesoftware.smackx.omemo with parameters of type MessageBuilder Modifier and Type Method Description Message
OmemoMessage.Sent. buildMessage(MessageBuilder messageBuilder, Jid recipient)
Return the OmemoElement wrapped in a Message ready to be sent. -
Uses of MessageBuilder in org.jivesoftware.smackx.ox_im
Methods in org.jivesoftware.smackx.ox_im with parameters of type MessageBuilder Modifier and Type Method Description org.pgpainless.decryption_verification.OpenPgpMetadata
OXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, java.util.Set<OpenPgpContact> recipients, java.util.List<ExtensionElement> payload)
Add an OX-IM message element to a message.org.pgpainless.decryption_verification.OpenPgpMetadata
OXInstantMessagingManager. addOxMessage(MessageBuilder messageBuilder, OpenPgpContact contact, java.util.List<ExtensionElement> payload)
Add an OX-IM message element to a message. -
Uses of MessageBuilder in org.jivesoftware.smackx.receipts
Methods in org.jivesoftware.smackx.receipts with parameters of type MessageBuilder Modifier and Type Method Description static void
DeliveryReceiptRequest. addTo(MessageBuilder messageBuilder)
Add a delivery receipt request to an outgoing packet. -
Uses of MessageBuilder in org.jivesoftware.smackx.sid.element
Methods in org.jivesoftware.smackx.sid.element with parameters of type MessageBuilder Modifier and Type Method Description static OriginIdElement
OriginIdElement. addTo(MessageBuilder messageBuilder)
Add an origin-id element to a message and set the stanzas id to the same id as in the origin-id element. -
Uses of MessageBuilder in org.jivesoftware.smackx.xhtmlim
Methods in org.jivesoftware.smackx.xhtmlim with parameters of type MessageBuilder Modifier and Type Method Description static void
XHTMLManager. addBody(MessageBuilder messageBuilder, XHTMLText xhtmlText)
Adds an XHTML body to the message.
-