Package org.eclipse.jgit.transport.sshd
Interface ProxyDataFactory
-
- All Known Implementing Classes:
DefaultProxyDataFactory
public interface ProxyDataFactoryInterface for obtainingProxyDatato connect through some proxy.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyDataget(InetSocketAddress remoteAddress)Get theProxyDatato connect to a proxy.
-
-
-
Method Detail
-
get
ProxyData get(InetSocketAddress remoteAddress)
Get theProxyDatato connect to a proxy. It should return a newProxyDatainstance every time; if the returnedProxyDatacontains a password, theSshdSessionwill clear it once it is no longer needed.- Parameters:
remoteAddress- to connect to- Returns:
- the
ProxyDataornullif a direct connection is to be made
-
-