Package org.jxmpp
Class JxmppContext.Builder
- java.lang.Object
-
- org.jxmpp.JxmppContext.Builder
-
- Enclosing class:
- JxmppContext
public static class JxmppContext.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JxmppContext
build()
Build a JxmppContext.JxmppContext.Builder
enableCaching()
Enable String, Part and Jid caching.JxmppContext.Builder
withXmppStringprep(XmppStringprep xmppStringprep)
Set the used XmppStringprep.
-
-
-
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.
-
-