Interface UploadPackErrorHandler


public interface UploadPackErrorHandler
Handle git-upload-pack errors.

This is an entry point for customizing an error handler for git-upload-pack. Right before calling UploadPack.uploadWithExceptionPropagation(java.io.InputStream, java.io.OutputStream, java.io.OutputStream), JGit will call this handler if specified through GitFilter. The implementation of this handler is responsible for calling UploadPackErrorHandler.UploadPackRunnable and handling exceptions for clients.

If a custom handler is not specified, JGit will use the default error handler.

Since:
5.6
  • Method Details