Uses of Class
org.igniterealtime.jbosh.ComposableBody.Builder
-
-
Uses of ComposableBody.Builder in org.igniterealtime.jbosh
Methods in org.igniterealtime.jbosh that return ComposableBody.Builder Modifier and Type Method Description static ComposableBody.Builder
ComposableBody. builder()
Create a builder instance to build new instances of this class.private static ComposableBody.Builder
ComposableBody.Builder. fromBody(ComposableBody source)
Creates a builder which is initialized to the values of the providedComposableBody
instance.ComposableBody.Builder
ComposableBody. rebuild()
If thisComposableBody
instance is a dynamic instance, uses thisComposableBody
instance as a starting point, create a builder which can be used to create anotherComposableBody
instance based on this one.ComposableBody.Builder
ComposableBody.Builder. setAttribute(BodyQName name, java.lang.String value)
Set an attribute on the message body / wrapper element.ComposableBody.Builder
ComposableBody.Builder. setNamespaceDefinition(java.lang.String prefix, java.lang.String uri)
Convenience method to set a namespace definition.ComposableBody.Builder
ComposableBody.Builder. setPayloadXML(java.lang.String xml)
Set the body message's wrapped payload content.Methods in org.igniterealtime.jbosh with parameters of type ComposableBody.Builder Modifier and Type Method Description private void
BOSHClient. applyFrom(ComposableBody.Builder builder)
Applies the local station ID information to the request message who's builder has been provided.private void
BOSHClient. applyResponseAcknowledgement(ComposableBody.Builder builder, long rid)
Sets the 'ack' attribute of the request to the value of the highest 'rid' of a request for which it has already received a response in the case where it has also received all responses associated with lower 'rid' values.private void
BOSHClient. applyRoute(ComposableBody.Builder builder)
Applies routing information to the request message who's builder has been provided.
-