1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +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(); 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. * Allow <code>null</code> or the empty String as username.
* *