Package org.jivesoftware.smack.bosh
Class BOSHConfiguration.Builder
- java.lang.Object
-
- org.jivesoftware.smack.ConnectionConfiguration.Builder<BOSHConfiguration.Builder,BOSHConfiguration>
-
- org.jivesoftware.smack.bosh.BOSHConfiguration.Builder
-
- Enclosing class:
- BOSHConfiguration
public static final class BOSHConfiguration.Builder extends ConnectionConfiguration.Builder<BOSHConfiguration.Builder,BOSHConfiguration>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BOSHConfiguration.Builder
addHttpHeader(String name, String value)
BOSHConfiguration
build()
protected BOSHConfiguration.Builder
getThis()
BOSHConfiguration.Builder
setFile(String file)
BOSHConfiguration.Builder
setUseHttps(boolean useHttps)
BOSHConfiguration.Builder
useHttps()
-
Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration.Builder
addEnabledSaslMechanism, addEnabledSaslMechanism, allowEmptyOrNullUsernames, enableDefaultDebugger, performSaslAnonymousAuthentication, performSaslExternalAuthentication, setAuthzid, setCallbackHandler, setCompressionEnabled, setCustomSSLContext, setCustomX509TrustManager, setDebuggerFactory, setDnssecMode, setEnabledSSLCiphers, setEnabledSSLProtocols, setHost, setHost, setHostAddress, setHostAddressByNameOrIp, setHostnameVerifier, setKeystorePath, setKeystoreType, setLanguage, setPKCS11Library, setPort, setPort, setProxyInfo, setResource, setResource, setSecurityMode, setSendPresence, setServiceName, setSocketFactory, setSslContextFactory, setStanzaIdSourceFactory, setUsernameAndPassword, setXmppAddressAndPassword, setXmppAddressAndPassword, setXmppDomain, setXmppDomain
-
-
-
-
Method Detail
-
setUseHttps
public BOSHConfiguration.Builder setUseHttps(boolean useHttps)
-
useHttps
public BOSHConfiguration.Builder useHttps()
-
setFile
public BOSHConfiguration.Builder setFile(String file)
-
addHttpHeader
public BOSHConfiguration.Builder addHttpHeader(String name, String value)
-
build
public BOSHConfiguration build()
- Specified by:
build
in classConnectionConfiguration.Builder<BOSHConfiguration.Builder,BOSHConfiguration>
-
getThis
protected BOSHConfiguration.Builder getThis()
- Specified by:
getThis
in classConnectionConfiguration.Builder<BOSHConfiguration.Builder,BOSHConfiguration>
-
-