Example usage for Java org.eclipse.jgit.transport UploadPack fields, constructors, methods, implement or subclass
The text is from its open source code.
UploadPack(Repository copyFrom) Create a new pack upload for an open repository. |
OutputStream | getMessageOutputStream() Get an underlying stream for sending messages to the client |
Repository | getRepository() Get the repository this upload is reading from. |
void | sendAdvertisedRefs(RefAdvertiser adv) Generate an advertisement of available refs and capabilities. |
void | sendMessage(String what) Send a message to the client, if it supports receiving them. |
void | setAdvertiseRefsHook(@Nullable AdvertiseRefsHook advertiseRefsHook) Set the hook used while advertising the refs to the client. |
void | setBiDirectionalPipe(boolean twoWay) Set whether this class will assume the socket is a fully bidirectional pipe between the two peers |
void | setPackConfig(@Nullable PackConfig pc) Set the configuration used by the pack generator. |
void | setPreUploadHook(@Nullable PreUploadHook hook) Set the hook that controls how this instance will behave. |
void | setRefFilter(@Nullable RefFilter refFilter) Set the filter used while advertising the refs to the client. |
void | setTimeout(int seconds) Set the timeout before willing to abort an IO call. |
void | upload(InputStream input, OutputStream output, @Nullable OutputStream messages) Execute the upload task on the socket. |