Package org.jivesoftware.smack.bosh
Class BOSHConfiguration
java.lang.Object
org.jivesoftware.smack.ConnectionConfiguration
org.jivesoftware.smack.bosh.BOSHConfiguration
public final class BOSHConfiguration
extends org.jivesoftware.smack.ConnectionConfiguration
Configuration to use while establishing the connection to the XMPP server via
HTTP binding.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jivesoftware.smack.ConnectionConfiguration
org.jivesoftware.smack.ConnectionConfiguration.DnssecMode, org.jivesoftware.smack.ConnectionConfiguration.SecurityMode -
Field Summary
Fields inherited from class org.jivesoftware.smack.ConnectionConfiguration
allowNullOrEmptyUsername, host, hostAddress, port, proxy, xmppServiceDomain, xmppServiceDomainDnsName -
Method Summary
Modifier and TypeMethodDescriptionstatic BOSHConfiguration.Builderbuilder()static BOSHConfiguration.Builderbuilder(org.jxmpp.JxmppContext jxmppContext) org.jivesoftware.smack.proxy.ProxyInfointgetURI()booleanbooleanMethods inherited from class org.jivesoftware.smack.ConnectionConfiguration
getAuthzid, getCallbackHandler, getDebuggerFactory, getDefaultJxmppContext, getDnssecMode, getEnabledSaslMechanisms, getEnabledSSLCiphers, getEnabledSSLProtocols, getHost, getHostAddress, getHostnameVerifier, getHostString, getJxmppContext, getLanguage, getPassword, getPort, getResource, getSecurityMode, getServiceName, getSocketFactory, getSSLSocketFactory, getUsername, getXmlLang, getXMPPServiceDomain, getXmppServiceDomainAsDnsNameIfPossible, isCompressionEnabled, isEnabledSaslMechanism, isSendPresence
-
Method Details
-
isProxyEnabled
public boolean isProxyEnabled() -
getProxyInfo
public org.jivesoftware.smack.proxy.ProxyInfo getProxyInfo()- Overrides:
getProxyInfoin classorg.jivesoftware.smack.ConnectionConfiguration
-
getProxyAddress
-
getProxyPort
public int getProxyPort() -
isUsingHTTPS
public boolean isUsingHTTPS() -
getURI
- Throws:
URISyntaxException
-
getHttpHeaders
-
builder
-
builder
-