public class BOSHConfiguration extends ConnectionConfiguration
XMPPBOSHConnection
ConnectionConfiguration.SecurityMode
hostAddresses, proxy
Constructor and Description |
---|
BOSHConfiguration(boolean https,
String host,
int port,
String filePath,
ProxyInfo proxy,
String xmppDomain)
Create a HTTP Binding configuration.
|
BOSHConfiguration(boolean https,
String host,
int port,
String filePath,
String xmppDomain)
Create a HTTP Binding configuration.
|
BOSHConfiguration(String xmppDomain) |
BOSHConfiguration(String xmppDomain,
int port) |
Modifier and Type | Method and Description |
---|---|
String |
getProxyAddress() |
ProxyInfo |
getProxyInfo() |
int |
getProxyPort() |
URI |
getURI() |
boolean |
isProxyEnabled() |
boolean |
isUsingSSL() |
getCallbackHandler, getCustomSSLContext, getHostAddresses, getHostnameVerifier, getKeystorePath, getKeystoreType, getPassword, getPKCS11Library, getResource, getRosterStore, getSecurityMode, getServiceName, getSocketFactory, getUsername, init, isCompressionEnabled, isDebuggerEnabled, isLegacySessionDisabled, isReconnectionAllowed, isRosterLoadedAtLogin, isSendPresence, setCallbackHandler, setCompressionEnabled, setCustomSSLContext, setDebuggerEnabled, setHostnameVerifier, setKeystorePath, setKeystoreType, setLegacySessionDisabled, setPKCS11Library, setReconnectionAllowed, setRosterLoadedAtLogin, setRosterStore, setSecurityMode, setSendPresence, setSocketFactory
public BOSHConfiguration(String xmppDomain)
public BOSHConfiguration(String xmppDomain, int port)
public BOSHConfiguration(boolean https, String host, int port, String filePath, String xmppDomain)
https
- true if you want to use SSL
(e.g. false for http://domain.lt:7070/http-bind).host
- the hostname or IP address of the connection manager
(e.g. domain.lt for http://domain.lt:7070/http-bind).port
- the port of the connection manager
(e.g. 7070 for http://domain.lt:7070/http-bind).filePath
- the file which is described by the URL
(e.g. /http-bind for http://domain.lt:7070/http-bind).xmppDomain
- the XMPP service name
(e.g. domain.lt for the user alice@domain.lt)public BOSHConfiguration(boolean https, String host, int port, String filePath, ProxyInfo proxy, String xmppDomain)
https
- true if you want to use SSL
(e.g. false for http://domain.lt:7070/http-bind).host
- the hostname or IP address of the connection manager
(e.g. domain.lt for http://domain.lt:7070/http-bind).port
- the port of the connection manager
(e.g. 7070 for http://domain.lt:7070/http-bind).filePath
- the file which is described by the URL
(e.g. /http-bind for http://domain.lt:7070/http-bind).proxy
- the configuration of a proxy server.xmppDomain
- the XMPP service name
(e.g. domain.lt for the user alice@domain.lt)public boolean isProxyEnabled()
public ProxyInfo getProxyInfo()
public String getProxyAddress()
public int getProxyPort()
public boolean isUsingSSL()
public URI getURI() throws URISyntaxException
URISyntaxException