Package org.eclipse.jgit.transport.sshd
Interface ProxyDataFactory
-
- All Known Implementing Classes:
DefaultProxyDataFactory
public interface ProxyDataFactory
Interface for obtainingProxyData
to connect through some proxy.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyData
get(InetSocketAddress remoteAddress)
Get theProxyData
to connect to a proxy.
-
-
-
Method Detail
-
get
ProxyData get(InetSocketAddress remoteAddress)
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
-
-