Package org.jxmpp

Class JxmppContext

java.lang.Object
org.jxmpp.JxmppContext

public final class JxmppContext extends Object
A context with describes the configuration used by JXMPP.
  • Field Details

  • Method Details

    • 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.