Top Description Methods
org.eclipse.jgit.transport.sshd

public Interface ProxyDataFactory

Known Direct Implementers
org.eclipse.jgit.transport.sshd.DefaultProxyDataFactory
Imports
java.net.InetSocketAddress

Interface for obtaining ProxyData to connect through some proxy.
Since
5.2

Method Summary

Modifier and TypeMethod and Description
public ProxyData

Returns:

the ProxyData or null if a direct connection is to be made
get
(InetSocketAddress
to connect to
remoteAddress
)

Get the ProxyData to connect to a proxy.

Method Detail

getback to summary
public ProxyData get(InetSocketAddress remoteAddress)

Get the ProxyData 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.

Parameters
remoteAddress:InetSocketAddress

to connect to

Returns:ProxyData

the ProxyData or null if a direct connection is to be made