public class DefaultProxyDataFactory extends Object implements ProxyDataFactory
ProxyDataFactory based on the standard
ProxySelector.| Constructor and Description |
|---|
DefaultProxyDataFactory() |
| Modifier and Type | Method and Description |
|---|---|
ProxyData |
get(InetSocketAddress remoteAddress)
Get the
ProxyData to connect to a proxy. |
public ProxyData get(InetSocketAddress remoteAddress)
ProxyDataFactoryProxyData to connect to a proxy. It should return a
new ProxyData instance every time; if the returned
ProxyData contains a password, the SshdSession will clear
it once it is no longer needed.get in interface ProxyDataFactoryremoteAddress - to connect toProxyData or null if a direct connection is
to be madeCopyright © 2019 Eclipse JGit Project. All rights reserved.