public abstract class LfsProtocolServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LfsProtocolServlet.LfsRequest
LFS request.
|
| Constructor and Description |
|---|
LfsProtocolServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected abstract LargeFileRepository |
getLargeFileRepository(LfsProtocolServlet.LfsRequest request,
String path,
String auth)
Get the large file repository for the given request and path.
|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected abstract LargeFileRepository getLargeFileRepository(LfsProtocolServlet.LfsRequest request, String path, String auth) throws LfsException
request - the requestpath - the pathauth - the Authorization HTTP headerLfsException - implementations should throw more specific exceptions to
signal which type of error occurred:
LfsValidationErrorLfsRepositoryNotFoundLfsRepositoryReadOnlyLfsRateLimitExceededLfsBandwidthLimitExceededLfsInsufficientStorageLfsUnavailableLfsExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.