public interface ReceivePackErrorHandler
This is an entry point for customizing an error handler for git-receive-pack.
Right before calling ReceivePack.receiveWithExceptionPropagation(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
ReceivePackErrorHandler.ReceivePackRunnable 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 |
ReceivePackErrorHandler.ReceivePackRunnable
Process a git-receive-pack request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
receive(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
ReceivePackErrorHandler.ReceivePackRunnable r) |
void receive(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
ReceivePackErrorHandler.ReceivePackRunnable r)
throws IOException
req - The HTTP requestrsp - The HTTP responser - A continuation that handles a git-receive-pack request.IOExceptionCopyright © 2020 Eclipse JGit Project. All rights reserved.