Top Description Interfaces Classes Enums
module org.eclipse.jgit

Package org.eclipse.jgit.transport


Transport (fetch/push) for different protocols.

Interface Summary

Modifier and TypeInterface and Description
public interface
AdvertiseRefsHook

Hook to allow callers to take over advertising refs to the client.

public interface
Connection

Represent connection for operation on a remote repository.

public interface
ConnectivityChecker

Checks that a received pack only depends on objects which are reachable from a defined set of references.

public interface
FetchConnection

Lists known refs from the remote and copies objects of selected refs.

public interface
FtpChannel

An interface providing FTP operations over a RemoteSession.

public interface
NonceGenerator

A NonceGenerator is used to create a nonce to be sent out to the pusher who will sign the nonce to prove it is not a replay attack on the push certificate.

public interface
ObjectCountCallback

A callback to tell caller the count of objects ASAP.

public interface
PackLock

A PackLock describes a .keep file that holds a pack in place.

public interface
PackTransport

Marker interface an object transport using Git pack transfers.

public interface
PostReceiveHook

Hook invoked by org.eclipse.jgit.transport.ReceivePack after all updates are executed.

public interface
PostUploadHook

Hook invoked by org.eclipse.jgit.transport.UploadPack after the pack has been uploaded.

public interface
PreReceiveHook

Hook invoked by org.eclipse.jgit.transport.ReceivePack before any updates are executed.

public interface
PreUploadHook

Hook invoked by org.eclipse.jgit.transport.UploadPack before during critical phases.

public interface
ProtocolV2Hook

Hook to allow callers to be notified on Git protocol v2 requests.

public interface
PushConnection

Lists known refs from the remote and sends objects to the remote.

public interface
ReceiveCommandErrorHandler

Exception handler for processing ReceiveCommand.

public interface
RefFilter

Filters the list of refs that are advertised to the client.

public interface
RemoteSession

An abstraction of a remote "session" for executing remote commands.

public interface
RemoteSession2

A RemoteSession that supports passing environment variables to commands.

public interface
SshConfigStore

An abstraction for a SSH config storage, like the OpenSSH ~/.ssh/config file.

public interface
TransportBundle

Marker interface for transports that supports fetching from a git bundle (sneaker-net object transport).

public interface
UnpackErrorHandler

Exception handler for processing an incoming pack file.

public interface
WalkTransport

Marker interface for an object transport walking transport.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractAdvertiseRefsHook

Implementation of org.eclipse.jgit.transport.AdvertiseRefsHook that advertises the same refs for upload-pack and receive-pack.

public class
public class
AmazonS3

A simple HTTP REST client for the Amazon S3 service.

public class
AwsRequestSignerV4

Utility class for signing requests to AWS service endpoints using the V4 signing protocol.

public abstract class
BaseConnection

Base helper class for implementing operations connections.

pack-priv abstract class
BaseFetchConnection

Base helper class for fetch connection implementations.

pack-priv abstract class
BasePackConnection

Base helper class for pack-based operations implementations.

public abstract class
BasePackFetchConnection

Fetch implementation using the native Git pack transfer service.

public abstract class
BasePackPushConnection

Push implementation using the native Git pack transfer service.

pack-priv class
BundleFetchConnection

Fetch connection for bundle based classes.

public class
BundleWriter

Creates a Git bundle file, for sneaker-net transport to another system.

public class
CapabilitiesV2Request

Capabilities protocol v2 request.

public class
ChainingCredentialsProvider

A credentials provider chaining multiple credentials providers

public abstract class
public abstract class
CredentialsProvider

Provide credentials for use in connecting to Git repositories.

public class
Daemon

Basic daemon for the anonymous git:// transport protocol.

public class
public abstract class
DaemonService

A service exposed by org.eclipse.jgit.transport.Daemon over anonymous git://.

pack-priv class
pack-priv class
pack-priv abstract class
FetchRequest

Common fields between v0/v1/v2 fetch requests.

public class
FetchResult

Final status after a successful fetch from a remote repository.

pack-priv class
FetchV0Request

Fetch request in the V0/V1 protocol.

public class
FetchV2Request

Fetch request from git protocol v2.

public class
FilterSpec

Represents either a filter specified in a protocol "filter" line, or a placeholder to indicate no filtering.

public class
GitProtocolConstants

Wire constants for the native Git protocol.

public class
HMACSHA1NonceGenerator

The nonce generator which was first introduced to git-core.

pack-priv abstract class
HttpAuthMethod

Support class to populate user authentication data on a connection.

public class
HttpConfig

A representation of the "http.*" config values in a git org.eclipse.jgit.lib.Config.

public abstract class
HttpTransport

The base class for transports that use HTTP as underlying protocol.

pack-priv class
InsecureCipherFactory

DO NOT USE Factory to create any cipher.

pack-priv class
public class
InternalHttpServerGlue

Internal API to assist org.eclipse.jgit.http.server.

pack-priv class
public class
LsRefsV2Request

ls-refs protocol v2 request.

public class
NetRC

NetRC file parser.

public class
NetRCCredentialsProvider

Simple .netrc credentials provider.

public class
ObjectInfoRequest

object-info request.

public abstract class
OperationResult

Class holding result of operation on remote repository.

public class
PackedObjectInfo

Description of an object stored in a pack file, including offset.

public class
PacketLineIn

Read Git style pkt-line formatting from an input stream.

public class
PacketLineOut

Write Git style pkt-line formatting to an output stream.

public abstract class
PackParser

Parses a pack stream and imports it for an org.eclipse.jgit.lib.ObjectInserter.

public class
PostReceiveHookChain

org.eclipse.jgit.transport.PostReceiveHook that delegates to a list of other hooks.

public class
PostUploadHookChain

org.eclipse.jgit.transport.PostUploadHook that delegates to a list of other hooks.

public class
PreReceiveHookChain

org.eclipse.jgit.transport.PreReceiveHook that delegates to a list of other hooks.

public class
PreUploadHookChain

org.eclipse.jgit.transport.PreUploadHook that delegates to a list of other hooks.

public class
ProgressSpinner

A simple spinner connected to an OutputStream.

pack-priv class
ProtocolV0Parser

Parser for git protocol versions 0 and 1.

public class
ProtocolV2HookChain

org.eclipse.jgit.transport.ProtocolV2Hook that delegates to a list of other hooks.

pack-priv class
ProtocolV2Parser

Parse the incoming git protocol lines from the wire and translate them into a Request object.

public class
PushCertificate

The required information to verify the push.

public class
PushCertificateIdent

Identity in a push certificate.

public class
PushCertificateParser

Parser for signed push certificates.

public class
PushCertificateStore

Storage for recorded push certificates.

public class
PushConfig

Push section of a Git configuration file.

pack-priv class
PushProcess

Class performing push operation on remote repository.

public class
PushResult

Result of push operation to the remote repository.

public class
public class
public class
ReceivePack

Implements the server side of a push connection, receiving objects.

public abstract class
public class
RefLeaseSpec

Describes the expected value for a ref being pushed.

public class
RefSpec

Describes how refs in one repository copy into another repository.

public class
RemoteConfig

A remembered remote repository, including URLs and RefSpecs.

public class
RemoteRefUpdate

Represent request and status of a remote ref update.

public class
RequestNotYetReadException

Indicates that a client request has not yet been read from the wire.

public class
ServiceMayNotContinueException

Indicates a transport service may not continue execution.

public class
SideBandInputStream

Unmultiplexes the data portion of a side-band channel.

public class
SideBandOutputStream

Multiplexes data and progress messages.

pack-priv class
SideBandProgressMonitor

Write progress messages out to the sideband channel.

public class
SignedPushConfig

Configuration for server-side signed push verification.

public class
SshConstants

Constants relating to ssh.

public abstract class
SshSessionFactory

Creates and destroys SSH connections to a remote system.

public abstract class
SshTransport

The base class for transports that use SSH protocol.

public abstract class
TcpTransport

The base class for transports based on TCP sockets.

public class
TestProtocol<
the connection type
C
>

Protocol for transport between manually-specified repositories in tests.

public class
TrackingRefUpdate

Update of a locally stored tracking branch.

public class
TransferConfig

The standard "transfer", "fetch", "protocol", "receive", and "uploadpack" configuration parameters.

public abstract class
Transport

Connects two Git repositories together and copies objects between them.

public class
TransportAmazonS3

Transport over the non-Git aware Amazon S3 protocol.

pack-priv class
public class
TransportBundleStream

Single shot fetch from a streamed Git bundle.

pack-priv class
TransportGitAnon

Transport through a git-daemon waiting for anonymous TCP connections.

public class
TransportGitSsh

Transport through an SSH tunnel.

public class
TransportHttp

Transport over HTTP and FTP protocols.

pack-priv class
TransportLocal

Transport to access a local directory as though it were a remote peer.

public abstract class
TransportProtocol

Describes a way to connect to another Git repository.

public class
TransportSftp

Transport over the non-Git aware SFTP (SSH based FTP) protocol.

public class
UploadPack

Implements the server side of a fetch connection, transmitting objects.

public class
UploadPackInternalServerErrorException

UploadPack has already reported an error to the client.

public class
URIish

This URI like construct used for referencing Git archives over the net, as well as locally stored archives.

public class
UrlConfig

Support for URL translations via git configs url.

public class
UserAgent

User agent to be reported by this JGit client and server on the network.

public class
pack-priv abstract class
pack-priv class
WalkFetchConnection

Generic fetch support for dumb transport protocols.

pack-priv class
WalkPushConnection

Generic push support for dumb transport protocols.

pack-priv abstract class
WalkRemoteObjectDatabase

Transfers object data through a dumb transport.

public class
WantNotValidException

Indicates client requested an object the server does not want to serve.

public class
WriteAbortedException

An exception to be thrown when the write operation is aborted.

Enum Summary

Modifier and TypeEnum and Description
public enum
TagOpt

Specification of annotated tag behavior during fetch.