Package org.jxmpp

Class JxmppContext.Builder

  • Enclosing class:
    JxmppContext

    public static class JxmppContext.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • enableCaching

        public JxmppContext.Builder enableCaching()
        Enable String, Part and Jid caching.
        Returns:
        a reference to this builder.
      • withXmppStringprep

        public JxmppContext.Builder withXmppStringprep​(XmppStringprep xmppStringprep)
        Set the used XmppStringprep.
        Parameters:
        xmppStringprep - the XmppStringprep to use.
        Returns:
        a reference to this builder.
      • build

        public JxmppContext build()
        Build a JxmppContext.
        Returns:
        a newly build JxmppContext.