Uses of Class
org.eclipse.jgit.errors.TransportException
Packages that use TransportException
Package
Description
Exceptions thrown by lower-level JGit APIs.
Transport (fetch/push) for different protocols.
-
Uses of TransportException in org.eclipse.jgit.errors
Subclasses of TransportException in org.eclipse.jgit.errorsModifier and TypeClassDescriptionclass
Indicates a base/common object was required, but is not found.class
Indicates a remote repository does not exist.class
Indicates a protocol error has occurred while fetching/pushing objects.class
Contains a message from the remote repository indicating a problem.class
Indicates a local repository does not exist.class
Thrown when PackParser finds an object larger than a predefined limitclass
Thrown when a pack exceeds a given size limit -
Uses of TransportException in org.eclipse.jgit.transport
Subclasses of TransportException in org.eclipse.jgit.transportModifier and TypeClassDescriptionclass
Indicates client requested an object the server does not want to serve.Methods in org.eclipse.jgit.transport that return TransportExceptionModifier and TypeMethodDescriptionprotected TransportException
BasePackConnection.noRepository()
Create an exception to indicate problems finding a remote repository.protected TransportException
BasePackPushConnection.noRepository()
Create an exception to indicate problems finding a remote repository.Methods in org.eclipse.jgit.transport that throw TransportExceptionModifier and TypeMethodDescriptionprivate void
FetchProcess.addUpdateBatchCommands
(FetchResult result, BatchRefUpdate batch) private boolean
WalkFetchConnection.alreadyHave
(AnyObjectId id) private boolean
FetchProcess.askForIsComplete()
(package private) void
TransportGitSsh.checkExecFailure
(int status, String exe, String why) private HttpConnection
private HttpConnection
TransportHttp.connect
(String service, TransferConfig.ProtocolVersion protocolVersion) private void
WalkPushConnection.createNewRepository
(List<RemoteRefUpdate> updates) private TrackingRefUpdate
FetchProcess.createUpdate
(RefSpec spec, ObjectId newId) protected abstract void
BaseFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
BasePackFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Execute common ancestor negotiation and fetch the objects.protected void
BundleFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
TransportHttp.SmartHttpFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) protected void
WalkFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
BasePackPushConnection.doPush
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) Push one or more objects and update the remote repository.protected void
TransportHttp.SmartHttpPushConnection.doPush
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) private boolean
WalkFetchConnection.downloadLooseObject
(AnyObjectId id, String looseName, WalkRemoteObjectDatabase remote) private void
WalkFetchConnection.downloadObject
(ProgressMonitor pm, AnyObjectId id) private boolean
WalkFetchConnection.downloadPackedObject
(ProgressMonitor monitor, AnyObjectId id) private String
BasePackFetchConnection.enableCapabilities()
(package private) void
FetchProcess.execute
(ProgressMonitor monitor, FetchResult result, String initialBranch) (package private) PushResult
PushProcess.execute
(ProgressMonitor monitor) Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs.private void
FetchProcess.executeImp
(ProgressMonitor monitor, FetchResult result, String initialBranch) private Collection
<Ref> FetchProcess.expandAutoFollowTags()
private void
FetchProcess.expandFetchTags()
private void
FetchProcess.expandSingle
(RefSpec spec, Set<Ref> matched) private void
FetchProcess.expandWildcard
(RefSpec spec, Set<Ref> matched) final void
BaseFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final void
BaseFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.final void
BasePackFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final void
BasePackFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.Transport.fetch
(ProgressMonitor monitor, Collection<RefSpec> toFetch) Fetch objects and refs from the remote repository to the local one.Transport.fetch
(ProgressMonitor monitor, Collection<RefSpec> toFetch, String branch) Fetch objects and refs from the remote repository to the local one.private void
FetchProcess.fetchObjects
(ProgressMonitor monitor) BasePackFetchConnection.getCapabilitiesV2
(Set<String> advertisedCapabilities) JschConfigSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.abstract RemoteSession
SshSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.protected RemoteSession
SshTransport.getSession()
Get the default SSH sessionprivate void
TransportHttp.handleSslFailure
(Throwable e) private boolean
FetchProcess.localHasObject
(ObjectId id) FetchProcess.localRefs()
protected void
BasePackConnection.lsRefs
(Collection<RefSpec> refSpecs, String... additionalPatterns) Issue a protocol V2 ls-refs command and read its response.private void
WalkFetchConnection.markLocalCommitsComplete
(int until) private void
WalkFetchConnection.markLocalRefsComplete
(Set<ObjectId> have) protected void
BaseConnection.markStartedOperation()
Helper method for ensuring one-operation per connection.TestProtocol.open
(URIish uri, Repository local, String remoteName) Open a Transport instance to the other repository.static Transport
Transport.open
(Repository local, String remote) Open a new transport instance to connect two repositories.static Transport
Transport.open
(Repository local, String remote, Transport.Operation op) Open a new transport instance to connect two repositories.static Transport
Transport.open
(Repository local, RemoteConfig cfg) Open a new transport instance to connect two repositories.static Transport
Transport.open
(Repository local, RemoteConfig cfg, Transport.Operation op) Open a new transport instance to connect two repositories.static Transport
Transport.open
(Repository local, URIish uri) Open a new transport instance to connect two repositories.static Transport
Transport.open
(Repository local, URIish uri, String remoteName) Open a new transport instance to connect two repositories.static Transport
Open a new transport with no local repository.Open a new transport instance to the remote repository.abstract Transport
TransportProtocol.open
(URIish uri, Repository local, String remoteName) Open a Transport instance to the other repository.Transport.openAll
(Repository local, String remote) Open new transport instances to connect two repositories.Transport.openAll
(Repository local, String remote, Transport.Operation op) Open new transport instances to connect two repositories.Transport.openAll
(Repository local, RemoteConfig cfg) Open new transport instances to connect two repositories.Transport.openAll
(Repository local, RemoteConfig cfg, Transport.Operation op) Open new transport instances to connect two repositories.(package private) Socket
TransportGitAnon.openConnection()
TestProtocol.TransportInternal.openFetch()
abstract FetchConnection
Transport.openFetch()
Begins a new connection for fetching from the remote repository.Transport.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) Begins a new connection for fetching from the remote repository.TransportAmazonS3.openFetch()
Begins a new connection for fetching from the remote repository.TransportBundleFile.openFetch()
Begins a new connection for fetching from the remote repository.TransportBundleStream.openFetch()
Begins a new connection for fetching from the remote repository.TransportGitAnon.openFetch()
Begins a new connection for fetching from the remote repository.TransportGitAnon.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportGitSsh.openFetch()
Begins a new connection for fetching from the remote repository.TransportGitSsh.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportHttp.openFetch()
Begins a new connection for fetching from the remote repository.TransportHttp.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportLocal.openFetch()
Begins a new connection for fetching from the remote repository.TransportLocal.openFetch
(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportSftp.openFetch()
Begins a new connection for fetching from the remote repository.TestProtocol.TransportInternal.openPush()
abstract PushConnection
Transport.openPush()
Begins a new connection for pushing into the remote repository.TransportAmazonS3.openPush()
Begins a new connection for pushing into the remote repository.TransportGitAnon.openPush()
Begins a new connection for pushing into the remote repository.TransportGitSsh.openPush()
Begins a new connection for pushing into the remote repository.TransportHttp.openPush()
Begins a new connection for pushing into the remote repository.TransportLocal.openPush()
Begins a new connection for pushing into the remote repository.TransportSftp.openPush()
Begins a new connection for pushing into the remote repository.private Repository
TransportLocal.openRepo()
private Map
<String, RemoteRefUpdate> PushProcess.prepareRemoteUpdates()
private void
private void
WalkFetchConnection.processBlob
(RevObject obj) private void
WalkFetchConnection.processCommit
(RevObject obj) private void
WalkFetchConnection.processTree
(RevObject obj) void
BasePackPushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.void
BasePackPushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) Pushes to the remote repository basing on provided specification.void
PushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.void
PushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream out) Pushes to the remote repository basing on provided specification.Transport.push
(ProgressMonitor monitor, Collection<RemoteRefUpdate> toPush) Push objects and refs from the local repository to the remote one.Transport.push
(ProgressMonitor monitor, Collection<RemoteRefUpdate> toPush, OutputStream out) Push objects and refs from the local repository to the remote one.void
WalkPushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.void
WalkPushConnection.push
(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream out) Pushes to the remote repository basing on provided specification.private void
WalkFetchConnection.queueWants
(Collection<Ref> want) protected boolean
BasePackConnection.readAdvertisedRefs()
Reads the advertised references through the initialized stream.TransportAmazonS3.DatabaseS3.readAdvertisedRefs()
TransportSftp.SftpObjectDB.readAdvertisedRefs()
private void
TransportAmazonS3.DatabaseS3.readLooseRefs
(TreeMap<String, Ref> avail) private void
protected void
WalkRemoteObjectDatabase.readPackedRefs
(Map<String, Ref> avail) Read a standard Git packed-refs file to discover known references.private Ref
private Ref
private URIish
private void
FetchProcess.reopenConnection()
private void
WalkPushConnection.sendpack
(List<RemoteRefUpdate> updates, ProgressMonitor monitor) private PushConnection
TransportHttp.smartPush
(String service, HttpConnection c, InputStream in) protected Process
Spawn processprivate Process
TransportLocal.spawn
(String cmd, TransferConfig.ProtocolVersion protocolVersion) Spawn processprivate void
BundleFetchConnection.verifyPrerequisites()
private void
private void
Constructors in org.eclipse.jgit.transport that throw TransportExceptionModifierConstructorDescription(package private)
BundleFetchConnection
(Transport transportBundle, InputStream src) (package private)
(package private)
ForkLocalFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
InternalFetchConnection
(PackTransport transport, UploadPackFactory<C> uploadPackFactory, C req, Repository remote) Constructor for InternalFetchConnection.InternalPushConnection
(PackTransport transport, ReceivePackFactory<C> receivePackFactory, C req, Repository remote) Constructor for InternalPushConnection.(package private)
JschProcess
(String commandName, Map<String, String> environment, int tms) Opens a channel on the session ("sock") for executing the given command, opens streams, and starts command execution.(package private)
PushProcess
(Transport transport, Collection<RemoteRefUpdate> toPush) Create process for specified transport and refs updates specification.(package private)
PushProcess
(Transport transport, Collection<RemoteRefUpdate> toPush, OutputStream out) Create process for specified transport and refs updates specification.(package private)
SftpObjectDB
(String path) (package private)
SftpObjectDB
(TransportSftp.SftpObjectDB parent, String p) (package private)
SmartHttpFetchConnection
(InputStream advertisement) (package private)
SmartHttpFetchConnection
(InputStream advertisement, Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
SmartHttpPushConnection
(InputStream advertisement) (package private)
(package private)
SshFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
(package private)
(package private)
TcpFetchConnection
(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)
-
Uses of TransportException in org.eclipse.jgit.transport.sshd
Methods in org.eclipse.jgit.transport.sshd that throw TransportExceptionModifier and TypeMethodDescriptionSshdSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)