public interface UploadPackErrorHandler
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.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UploadPackErrorHandler.UploadPackRunnable
Process a git-upload-pack request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
upload(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
UploadPackErrorHandler.UploadPackRunnable r) |
void upload(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
UploadPackErrorHandler.UploadPackRunnable r)
throws IOException
req - The HTTP requestrsp - The HTTP responser - A continuation that handles a git-upload-pack request.IOExceptionCopyright © 2020 Eclipse JGit Project. All rights reserved.