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.ConnectionConfigurationConfiguration to use while establishing the connection to the XMPP server via HTTP binding.- See Also:
XMPPBOSHConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBOSHConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BOSHConfiguration.Builderbuilder()java.util.Map<java.lang.String,java.lang.String>getHttpHeaders()java.lang.StringgetProxyAddress()org.jivesoftware.smack.proxy.ProxyInfogetProxyInfo()intgetProxyPort()java.net.URIgetURI()booleanisProxyEnabled()booleanisUsingHTTPS()-
Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration
getAuthzid, getCallbackHandler, getCustomSSLContext, getCustomX509TrustManager, getDebuggerFactory, getDnssecMode, getEnabledSaslMechanisms, getEnabledSSLCiphers, getEnabledSSLProtocols, getHost, getHostAddress, getHostnameVerifier, getKeystorePath, getKeystoreType, getLanguage, getPassword, getPKCS11Library, getPort, getResource, getSecurityMode, getServiceName, getSocketFactory, getUsername, getXmlLang, getXMPPServiceDomain, getXmppServiceDomainAsDnsNameIfPossible, isCompressionEnabled, isEnabledSaslMechanism, isSendPresence
-
-
-
-
Method Detail
-
isProxyEnabled
public boolean isProxyEnabled()
-
getProxyInfo
public org.jivesoftware.smack.proxy.ProxyInfo getProxyInfo()
- Overrides:
getProxyInfoin classorg.jivesoftware.smack.ConnectionConfiguration
-
getProxyAddress
public java.lang.String getProxyAddress()
-
getProxyPort
public int getProxyPort()
-
isUsingHTTPS
public boolean isUsingHTTPS()
-
getURI
public java.net.URI getURI() throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
getHttpHeaders
public java.util.Map<java.lang.String,java.lang.String> getHttpHeaders()
-
builder
public static BOSHConfiguration.Builder builder()
-
-