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 Classes
    Modifier and Type
    Class
    Description
    static final class 
     

    Nested 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 Type
    Method
    Description
     
     
     
    org.jivesoftware.smack.proxy.ProxyInfo
     
    int
     
     
    boolean
     
    boolean
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isProxyEnabled

      public boolean isProxyEnabled()
    • getProxyInfo

      public org.jivesoftware.smack.proxy.ProxyInfo getProxyInfo()
      Overrides:
      getProxyInfo in class org.jivesoftware.smack.ConnectionConfiguration
    • getProxyAddress

      public String getProxyAddress()
    • getProxyPort

      public int getProxyPort()
    • isUsingHTTPS

      public boolean isUsingHTTPS()
    • getURI

      public URI getURI() throws URISyntaxException
      Throws:
      URISyntaxException
    • getHttpHeaders

      public Map<String,String> getHttpHeaders()
    • builder

      public static BOSHConfiguration.Builder builder()