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 LargeFileRepository |
getLargeFileRepository(LfsProtocolServlet.LfsRequest request,
String path)
Deprecated.
|
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, service@Deprecated protected LargeFileRepository getLargeFileRepository(LfsProtocolServlet.LfsRequest request, String path) throws LfsException
getLargeFileRepository(LfsRequest, String, String)request - the requestpath - the pathLfsException - implementations should throw more specific exceptions to
signal which type of error occurred:
LfsValidationErrorLfsRepositoryNotFoundLfsRepositoryReadOnlyLfsRateLimitExceededLfsBandwidthLimitExceededLfsInsufficientStorageLfsUnavailableLfsExceptionprotected 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 © 2017 Eclipse JGit Project. All rights reserved.