Class 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  
      • 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

      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
      • Methods inherited from class java.lang.Object

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

      • isProxyEnabled

        public boolean isProxyEnabled()
      • getProxyInfo

        public org.jivesoftware.smack.proxy.ProxyInfo getProxyInfo()
        Overrides:
        getProxyInfo in class org.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()