Package org.eclipse.jgit.transport.sshd
Interface ProxyDataFactory
- All Known Implementing Classes:
DefaultProxyDataFactory
public interface ProxyDataFactory
Interface for obtaining
ProxyData to connect through some proxy.- Since:
- 5.2
-
Method Summary
Modifier and TypeMethodDescriptionget(InetSocketAddress remoteAddress) Get theProxyDatato connect to a proxy.
-
Method Details
-
get
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
-