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:
XMPPBOSHConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BOSHConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BOSHConfiguration.Builder
builder()
java.util.Map<java.lang.String,java.lang.String>
getHttpHeaders()
java.lang.String
getProxyAddress()
org.jivesoftware.smack.proxy.ProxyInfo
getProxyInfo()
int
getProxyPort()
java.net.URI
getURI()
boolean
isProxyEnabled()
boolean
isUsingHTTPS()
-
Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration
getAuthzid, getCallbackHandler, getDebuggerFactory, getDnssecMode, getEnabledSaslMechanisms, getEnabledSSLCiphers, getEnabledSSLProtocols, getHost, getHostAddress, getHostnameVerifier, getLanguage, getPassword, 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:
getProxyInfo
in 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()
-
-