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
1 changed files with 11 additions and 0 deletions

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.
*