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 theProxyData
to connect to a proxy.
-
Method Details
-
get
Get theProxyData
to connect to a proxy. It should return a newProxyData
instance every time; if the returnedProxyData
contains a password, theSshdSession
will clear it once it is no longer needed.- Parameters:
remoteAddress
- to connect to- Returns:
- the
ProxyData
ornull
if a direct connection is to be made
-