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(java.lang.String name, java.lang.String value)
BOSHConfiguration
build()
protected BOSHConfiguration.Builder
getThis()
BOSHConfiguration.Builder
setFile(java.lang.String file)
BOSHConfiguration.Builder
setUseHttps(boolean useHttps)
BOSHConfiguration.Builder
useHttps()
-
Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration.Builder
addEnabledSaslMechanism, addEnabledSaslMechanism, allowEmptyOrNullUsernames, enableDefaultDebugger, getKeyManagersFrom, performSaslAnonymousAuthentication, performSaslExternalAuthentication, setAuthzid, setCallbackHandler, setCompressionEnabled, setCustomSSLContext, setCustomX509TrustManager, setDebuggerFactory, setDnssecMode, setEnabledSSLCiphers, setEnabledSSLProtocols, setHost, setHost, setHostAddress, setHostAddressByNameOrIp, setHostnameVerifier, setKeyManager, setKeyManagers, setKeystorePath, setKeystoreType, setLanguage, setPKCS11Library, setPort, setPort, setProxyInfo, setResource, setResource, setSecurityMode, setSendPresence, setServiceName, setSocketFactory, setSslContextFactory, setSslContextSecureRandom, 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(java.lang.String file)
-
addHttpHeader
public BOSHConfiguration.Builder addHttpHeader(java.lang.String name, java.lang.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>
-
-