1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

Add ConnectionConfiguration.setProxyInfo(ProxyInfo)

Fixes SMACK-661.
This commit is contained in:
Florian Schmaus 2015-04-27 17:51:18 +02:00
parent a4be67ff5d
commit 4eb322608e

View file

@ -614,6 +614,17 @@ public abstract class ConnectionConfiguration {
return getThis();
}
/**
* Set the information about the Proxy used for the connection.
*
* @param proxyInfo the Proxy information.
* @return a reference to this builder.
*/
public B setProxyInfo(ProxyInfo proxyInfo) {
this.proxy = proxyInfo;
return getThis();
}
/**
* Allow <code>null</code> or the empty String as username.
*