Java org.eclipse.jgit.transport UploadPack fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.transport UploadPack fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.transport UploadPack.

The text is from its open source code.

Constructor

UploadPack(Repository copyFrom)
Create a new pack upload for an open repository.

Method

OutputStreamgetMessageOutputStream()
Get an underlying stream for sending messages to the client
RepositorygetRepository()
Get the repository this upload is reading from.
voidsendAdvertisedRefs(RefAdvertiser adv)
Generate an advertisement of available refs and capabilities.
voidsendMessage(String what)
Send a message to the client, if it supports receiving them.
voidsetAdvertiseRefsHook(@Nullable AdvertiseRefsHook advertiseRefsHook)
Set the hook used while advertising the refs to the client.
voidsetBiDirectionalPipe(boolean twoWay)
Set whether this class will assume the socket is a fully bidirectional pipe between the two peers
voidsetPackConfig(@Nullable PackConfig pc)
Set the configuration used by the pack generator.
voidsetPreUploadHook(@Nullable PreUploadHook hook)
Set the hook that controls how this instance will behave.
voidsetRefFilter(@Nullable RefFilter refFilter)
Set the filter used while advertising the refs to the client.
voidsetTimeout(int seconds)
Set the timeout before willing to abort an IO call.
voidupload(InputStream input, OutputStream output, @Nullable OutputStream messages)
Execute the upload task on the socket.