Class AbstractHttpOverXmpp.Builder<B extends AbstractHttpOverXmpp.Builder<B,C>,C extends AbstractHttpOverXmpp>

java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder<B,C>
Type Parameters:
B - the builder type parameter.
C - the resulting HttpOverXmpp IQ
Direct Known Subclasses:
HttpOverXmppReq.Builder, HttpOverXmppResp.Builder
Enclosing class:
AbstractHttpOverXmpp

public abstract static class AbstractHttpOverXmpp.Builder<B extends AbstractHttpOverXmpp.Builder<B,C>,C extends AbstractHttpOverXmpp> extends Object
A builder for XMPP connection configurations.

See ConnectionConfiguration Builder for more details.

  • Constructor Details

  • Method Details

    • setData

      Sets Data element.
      Parameters:
      data - Headers element
      Returns:
      the builder
    • setHeaders

      public B setHeaders(HeadersExtension headers)
      Sets Headers element.
      Parameters:
      headers - Headers element
      Returns:
      the builder
    • setVersion

      public B setVersion(String version)
      Sets version attribute.
      Parameters:
      version - version attribute
      Returns:
      the builder
    • build

      public abstract C build()
    • getThis

      protected abstract B getThis()