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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JxmppContext.Builder
-
Field Summary
Fields Modifier and Type Field Description XmppStringprep
xmppStringprep
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JxmppContext.Builder
builder()
Construct and retrieve a new builder.static JxmppContext
getDefaultContext()
Get the default context.boolean
isCachingEnabled()
Returns true if String, Part and Jid caching is enabled.static void
setDefaultXmppStringprep(XmppStringprep defaultXmppStringprep)
Set the default XmppStringprep interface.
-
-
-
Field Detail
-
xmppStringprep
public final XmppStringprep xmppStringprep
-
-
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.
-
-