com.google.appengine.api.xmpp
Class SubscriptionBuilder
java.lang.Object
com.google.appengine.api.xmpp.SubscriptionBuilder
public class SubscriptionBuilder
- extends java.lang.Object
Builder used to generate Subscription
instances to represent
incoming XMPP subscription stanzas.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionBuilder
public SubscriptionBuilder()
withSubscriptionType
public SubscriptionBuilder withSubscriptionType(SubscriptionType subscriptionType)
withToJid
public SubscriptionBuilder withToJid(JID toJid)
withFromJid
public SubscriptionBuilder withFromJid(JID fromJid)
withStanza
public SubscriptionBuilder withStanza(java.lang.String stanza)
build
public Subscription build()