Package org.eclipse.jgit.transport
Transport (fetch/push) for different protocols.
-
Interface Summary Interface Description AdvertiseRefsHook Hook to allow callers to take over advertising refs to the client.AmazonS3.Keys Property names used in amazon connection configuration file.Connection Represent connection for operation on a remote repository.ConnectivityChecker Checks that a received pack only depends on objects which are reachable from a defined set of references.FetchConnection Lists known refs from the remote and copies objects of selected refs.FtpChannel An interface providing FTP operations over aRemoteSession
.FtpChannel.DirEntry Simplified remote directory entry.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.ObjectCountCallback A callback to tell caller the count of objects ASAP.PackTransport Marker interface an object transport using Git pack transfers.PostReceiveHook Hook invoked byReceivePack
after all updates are executed.PostUploadHook Hook invoked byUploadPack
after the pack has been uploaded.PreReceiveHook Hook invoked byReceivePack
before any updates are executed.PreUploadHook Hook invoked byUploadPack
before during critical phases.ProtocolV2Hook Hook to allow callers to be notified on Git protocol v2 requests.PushCertificateParser.StringReader PushConnection Lists known refs from the remote and sends objects to the remote.ReceiveCommandErrorHandler Exception handler for processingReceiveCommand
.RefFilter Filters the list of refs that are advertised to the client.RemoteSession An abstraction of a remote "session" for executing remote commands.SshConfigStore An abstraction for a SSH config storage, like the OpenSSH ~/.ssh/config file.SshConfigStore.HostConfig A host entry from the ssh config.TransportBundle Marker interface for transports that supports fetching from a git bundle (sneaker-net object transport).UnpackErrorHandler Exception handler for processing an incoming pack file.UploadPack.ErrorWriter UploadPack.IOConsumer<R> UploadPack.RequestValidator Validator for client requests.WalkEncryption.Keys Encryption property names.WalkEncryption.Vals Encryption constants and defaults.WalkTransport Marker interface for an object transport walking transport. -
Class Summary Class Description AbstractAdvertiseRefsHook Implementation ofAdvertiseRefsHook
that advertises the same refs for upload-pack and receive-pack.AdvertiseRefsHookChain AdvertiseRefsHook
that delegates to a list of other hooks.AmazonS3 A simple HTTP REST client for the Amazon S3 service.AmazonS3.KeyInfo KeyInfo enables sorting of keys by lastModified timeBaseConnection Base helper class for implementing operations connections.BaseFetchConnection Base helper class for fetch connection implementations.BasePackConnection Base helper class for pack-based operations implementations.BasePackFetchConnection Fetch implementation using the native Git pack transfer service.BasePackFetchConnection.FetchConfig BasePackPushConnection Push implementation using the native Git pack transfer service.BasePackPushConnection.CheckingSideBandOutputStream BundleFetchConnection Fetch connection for bundle based classes.BundleWriter Creates a Git bundle file, for sneaker-net transport to another system.CapabilitiesV2Request Capabilities protocol v2 request.CapabilitiesV2Request.Builder A builder forCapabilitiesV2Request
.ChainingCredentialsProvider A credentials provider chaining multiple credentials providersConnectivityChecker.ConnectivityCheckInfo POJO which is used to pass all information which is needed to perform connectivity check.CredentialItem A credential requested from aCredentialsProvider
.CredentialItem.CharArrayType An item whose value is stored as a char[] and is therefore clearable.CredentialItem.InformationalMessage An advice message presented to the user, with no response required.CredentialItem.Password Prompt for a password, which is masked on input.CredentialItem.StringType An item whose value is stored as a string.CredentialItem.Username Prompt for a username, which is not masked on input.CredentialItem.YesNoType An item whose value is a boolean choice, presented as Yes/No.CredentialsProvider Provide credentials for use in connecting to Git repositories.CredentialsProviderUserInfo A JSchUserInfo
adapter for aCredentialsProvider
.Daemon Basic daemon for the anonymousgit://
transport protocol.DaemonClient Active network client ofDaemon
.DaemonService A service exposed byDaemon
over anonymousgit://
.DaemonService.ServiceConfig FetchHeadRecord FetchProcess FetchRequest Common fields between v0/v1/v2 fetch requests.FetchResult Final status after a successful fetch from a remote repository.FetchV0Request Fetch request in the V0/V1 protocol.FetchV0Request.Builder FetchV2Request Fetch request from git protocol v2.FetchV2Request.Builder A builder forFetchV2Request
.FilterSpec Represents either a filter specified in a protocol "filter" line, or a placeholder to indicate no filtering.FilterSpec.ObjectTypes Immutable bit-set representation of a set of Git object types.GitProtocolConstants Wire constants for the native Git protocol.HMACSHA1NonceGenerator The nonce generator which was first introduced to git-core.HttpAuthMethod Support class to populate user authentication data on a connection.HttpAuthMethod.Basic Performs HTTP basic authentication (plaintext username/password).HttpAuthMethod.Digest Performs HTTP digest authentication.HttpAuthMethod.Negotiate HttpAuthMethod.None Performs no user authentication.HttpConfig A representation of the "http.*" config values in a gitConfig
.HttpTransport The base class for transports that use HTTP as underlying protocol.InsecureCipherFactory DO NOT USE Factory to create any cipher.InternalFetchConnection<C> InternalHttpServerGlue Internal API to assistorg.eclipse.jgit.http.server
.InternalPushConnection<C> JschConfigSessionFactory The base session factory that loads known hosts and private keys from$HOME/.ssh
.JschConfigSessionFactory.JschBugFixingConfigRepository JschConfigSessionFactory.JschBugFixingConfigRepository.JschBugFixingConfig AConfigRepository.Config
that transforms some values from the config file into the format Jsch 0.1.54 expects.JschSession Run remote commands using Jsch.LsRefsV2Request ls-refs protocol v2 request.LsRefsV2Request.Builder A builder forLsRefsV2Request
.NetRC NetRC file parser.NetRC.NetRCEntry .netrc file entryNetRCCredentialsProvider Simple .netrc credentials provider.OpenSshConfig Fairly complete configuration parser for the OpenSSH ~/.ssh/config file.OpenSshConfig.Host Configuration of one "Host" block in the configuration file.OperationResult Class holding result of operation on remote repository.PackedObjectInfo Description of an object stored in a pack file, including offset.PacketLineIn Read Git style pkt-line formatting from an input stream.PacketLineIn.PacketLineInIterator Iterator over packet lines.PacketLineOut Write Git style pkt-line formatting to an output stream.PackParser Parses a pack stream and imports it for anObjectInserter
.PackParser.DeltaChain PackParser.DeltaVisit PackParser.ObjectTypeAndSize Type and size information about an object in the database buffer.PackParser.UnresolvedDelta Information about an unresolved delta in this pack stream.PostReceiveHookChain PostReceiveHook
that delegates to a list of other hooks.PostUploadHookChain PostUploadHook
that delegates to a list of other hooks.PreReceiveHookChain PreReceiveHook
that delegates to a list of other hooks.PreUploadHookChain PreUploadHook
that delegates to a list of other hooks.ProgressSpinner A simple spinner connected to anOutputStream
.ProtocolV0Parser Parser for git protocol versions 0 and 1.ProtocolV2HookChain ProtocolV2Hook
that delegates to a list of other hooks.ProtocolV2Parser Parse the incoming git protocol lines from the wire and translate them into a Request object.PushCertificate The required information to verify the push.PushCertificateIdent Identity in a push certificate.PushCertificateParser Parser for signed push certificates.PushCertificateParser.PacketLineReader PushCertificateParser.StreamReader PushCertificateStore Storage for recorded push certificates.PushCertificateStore.PendingCert PushConfig Push section of a Git configuration file.PushProcess Class performing push operation on remote repository.PushResult Result of push operation to the remote repository.ReceiveCommand A command being processed byReceivePack
.ReceivedPackStatistics Statistics aboutPackParser
.ReceivedPackStatistics.Builder A builder forReceivedPackStatistics
.ReceivePack Implements the server side of a push connection, receiving objects.ReceivePack.FirstLine Deprecated. UseFirstCommand
instead.ReceivePack.ReceiveConfig Configuration for receive operations.ReceivePack.Reporter Interface for reporting status messages.RefAdvertiser Support for the start ofUploadPack
andReceivePack
.RefAdvertiser.PacketLineOutRefAdvertiser Advertiser which frames lines in aPacketLineOut
format.RefLeaseSpec Describes the expected value for a ref being pushed.RefSpec Describes how refs in one repository copy into another repository.RemoteConfig A remembered remote repository, including URLs and RefSpecs.RemoteRefUpdate Represent request and status of a remote ref update.SideBandInputStream Unmultiplexes the data portion of a side-band channel.SideBandOutputStream Multiplexes data and progress messages.SideBandProgressMonitor Write progress messages out to the sideband channel.SignedPushConfig Configuration for server-side signed push verification.SshConstants Constants relating to ssh.SshSessionFactory Creates and destroys SSH connections to a remote system.SshTransport The base class for transports that use SSH protocol.TcpTransport The base class for transports based on TCP sockets.TestProtocol<C> Protocol for transport between manually-specified repositories in tests.TrackingRefUpdate Update of a locally stored tracking branch.TransferConfig The standard "transfer", "fetch", "protocol", "receive", and "uploadpack" configuration parameters.TransferConfig.FsckKeyNameHolder Transport Connects two Git repositories together and copies objects between them.TransportAmazonS3 Transport over the non-Git aware Amazon S3 protocol.TransportBundleFile TransportBundleStream Single shot fetch from a streamed Git bundle.TransportGitAnon Transport through a git-daemon waiting for anonymous TCP connections.TransportGitSsh Transport through an SSH tunnel.TransportHttp Transport over HTTP and FTP protocols.TransportHttp.CredentialItems TransportLocal Transport to access a local directory as though it were a remote peer.TransportProtocol Describes a way to connect to another Git repository.TransportSftp Transport over the non-Git aware SFTP (SSH based FTP) protocol.UploadPack Implements the server side of a fetch connection, transmitting objects.UploadPack.AdvertisedRequestValidator Validator corresponding toUploadPack.RequestPolicy.ADVERTISED
.UploadPack.AnyRequestValidator Validator corresponding toUploadPack.RequestPolicy.ANY
.UploadPack.FirstLine Deprecated. UseFirstWant
insteadUploadPack.ReachableCommitRequestValidator Validator corresponding toUploadPack.RequestPolicy.REACHABLE_COMMIT
.UploadPack.ReachableCommitTipRequestValidator Validator corresponding toUploadPack.RequestPolicy.REACHABLE_COMMIT_TIP
.UploadPack.ResponseBufferedOutputStream UploadPack.TipRequestValidator Validator corresponding toUploadPack.RequestPolicy.TIP
.URIish This URI like construct used for referencing Git archives over the net, as well as locally stored archives.UserAgent User agent to be reported by this JGit client and server on the network.UsernamePasswordCredentialsProvider SimpleCredentialsProvider
that always uses the same information.WalkEncryption WalkEncryption.JetS3tV2 JetS3t compatibility reference: EncryptionUtil.javaWalkEncryption.JGitV1 Provides JetS3t-like encryption with AES support.WalkEncryption.JGitV2 Supports both PBE and non-PBE algorithms.WalkEncryption.NoEncryption WalkEncryption.SymmetricEncryption Base implementation of JGit symmetric encryption.WalkFetchConnection Generic fetch support for dumb transport protocols.WalkPushConnection Generic push support for dumb transport protocols.WalkRemoteObjectDatabase Transfers object data through a dumb transport.WalkRemoteObjectDatabase.FileStream -
Enum Summary Enum Description GitProtocolConstants.MultiAck HttpAuthMethod.Type Enum listing the http authentication method types supported by jgit.HttpConfig.HttpRedirectMode Config values for http.followRedirect.NetRC.State PacketLineIn.AckNackResult PackParser.Source Location data is being obtained from.PushCertificate.NonceStatus Verification result of the nonce returned during push.PushConfig.PushRecurseSubmodulesMode Config values for push.recurseSubmodules.ReceiveCommand.Result Result of the update command.ReceiveCommand.Type Type of operation requested.RefSpec.WildcardMode How strict to be about wildcards.RemoteRefUpdate.Status Represent current status of a remote ref update.TagOpt Specification of annotated tag behavior during fetch.TransferConfig.FsckMode A git configuration value for how to handle a fsck failure of a particular kind.TransferConfig.ProtocolVersion A git configuration variable for which versions of the Git protocol to prefer.Transport.Operation Type of operation a Transport is being opened for.TransportHttp.AcceptEncoding Accept-Encoding header in the HTTP request (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).TransportProtocol.URIishField Fields within aURIish
that a transport uses.UploadPack.RequestPolicy Policy the server uses to validate client requests -
Exception Summary Exception Description BasePackFetchConnection.CancelledException FtpChannel.FtpException AnException
for reporting SFTP errors.PacketLineIn.InputOverLimitIOException IOException thrown by read when the configured input limit is exceeded.RequestNotYetReadException Indicates that a client request has not yet been read from the wire.ServiceMayNotContinueException Indicates a transport service may not continue execution.UploadPackInternalServerErrorException UploadPack has already reported an error to the client.WantNotValidException Indicates client requested an object the server does not want to serve.WriteAbortedException An exception to be thrown when the write operation is aborted.