Package org.jxmpp

Class JxmppContext


  • public final class JxmppContext
    extends java.lang.Object
    A context with describes the configuration used by JXMPP.
    • Method Detail

      • getDefaultContext

        public static JxmppContext getDefaultContext()
        Get the default context.
        Returns:
        the default context.
      • setDefaultXmppStringprep

        public static void setDefaultXmppStringprep​(XmppStringprep defaultXmppStringprep)
        Set the default XmppStringprep interface.
        Parameters:
        defaultXmppStringprep - the default XmppStringprep interface.
      • isCachingEnabled

        public boolean isCachingEnabled()
        Returns true if String, Part and Jid caching is enabled.
        Returns:
        true if caching is enabled.
      • builder

        public static JxmppContext.Builder builder()
        Construct and retrieve a new builder.
        Returns:
        a new builder.