Package org.jivesoftware.smack.bosh
Class BOSHConfiguration
- java.lang.Object
-
- org.jivesoftware.smack.ConnectionConfiguration
-
- org.jivesoftware.smack.bosh.BOSHConfiguration
-
public final class BOSHConfiguration extends 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
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.ConnectionConfiguration
ConnectionConfiguration.DnssecMode, ConnectionConfiguration.SecurityMode
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.ConnectionConfiguration
allowNullOrEmptyUsername, host, hostAddress, port, proxy, xmppServiceDomain, xmppServiceDomainDnsName
-
-
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()
ProxyInfo
getProxyInfo()
Get the configured proxy information (if any).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, getHostString, getLanguage, getPassword, getPort, getResource, getSecurityMode, getServiceName, getSocketFactory, getUsername, getXmlLang, getXMPPServiceDomain, getXmppServiceDomainAsDnsNameIfPossible, isCompressionEnabled, isEnabledSaslMechanism, isSendPresence
-
-
-
-
Method Detail
-
isProxyEnabled
public boolean isProxyEnabled()
-
getProxyInfo
public ProxyInfo getProxyInfo()
Description copied from class:ConnectionConfiguration
Get the configured proxy information (if any).- Overrides:
getProxyInfo
in classConnectionConfiguration
- Returns:
- the configured proxy information or
null
.
-
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()
-
-