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.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.PackLock APackLock
describes a.keep
file that holds a pack in place.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.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.RemoteSession2 ARemoteSession
that supports passing environment variables to 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.RequestValidator Validator for client requests.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.AwsRequestSignerV4 Utility class for signing requests to AWS service endpoints using the V4 signing protocol.BaseConnection Base helper class for implementing operations connections.BasePackFetchConnection Fetch implementation using the native Git pack transfer service.BasePackPushConnection Push implementation using the native Git pack transfer service.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.Daemon Basic daemon for the anonymousgit://
transport protocol.DaemonClient Active network client ofDaemon
.DaemonService A service exposed byDaemon
over anonymousgit://
.FetchResult Final status after a successful fetch from a remote repository.FetchV2Request Fetch request from git protocol v2.FilterSpec Represents either a filter specified in a protocol "filter" line, or a placeholder to indicate no filtering.GitProtocolConstants Wire constants for the native Git protocol.HMACSHA1NonceGenerator The nonce generator which was first introduced to git-core.HttpConfig A representation of the "http.*" config values in a gitConfig
.HttpTransport The base class for transports that use HTTP as underlying protocol.InternalHttpServerGlue Internal API to assistorg.eclipse.jgit.http.server
.LsRefsV2Request ls-refs protocol v2 request.LsRefsV2Request.Builder A builder forLsRefsV2Request
.NetRC NetRC file parser.NetRC.NetRCEntry .netrc file entryNetRCCredentialsProvider Simple .netrc credentials provider.ObjectInfoRequest object-info request.ObjectInfoRequest.Builder A builder forObjectInfoRequest
.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.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
.ProtocolV2HookChain ProtocolV2Hook
that delegates to a list of other hooks.PushCertificate The required information to verify the push.PushCertificateIdent Identity in a push certificate.PushCertificateParser Parser for signed push certificates.PushCertificateStore Storage for recorded push certificates.PushConfig Push section of a Git configuration file.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.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.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.Transport Connects two Git repositories together and copies objects between them.TransportAmazonS3 Transport over the non-Git aware Amazon S3 protocol.TransportBundleStream Single shot fetch from a streamed Git bundle.TransportGitSsh Transport through an SSH tunnel.TransportHttp Transport over HTTP and FTP protocols.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.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.UrlConfig Support for URL translations via git configsurl.<base>.insteadOf
andurl.<base>.pushInsteadOf
.UserAgent User agent to be reported by this JGit client and server on the network.UsernamePasswordCredentialsProvider SimpleCredentialsProvider
that always uses the same information. -
Enum Summary Enum Description HttpConfig.HttpRedirectMode Config values for http.followRedirect.PackParser.Source Location data is being obtained from.PushCertificate.NonceStatus Verification result of the nonce returned during push.PushConfig.PushDefault Git config values forpush.default
.PushConfig.PushRecurseSubmodulesMode Git config values forpush.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 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.