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:
parent
a4be67ff5d
commit
4eb322608e
1 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue