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, service
protected 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:
LfsValidationError
LfsRepositoryNotFound
LfsRepositoryReadOnly
LfsRateLimitExceeded
LfsBandwidthLimitExceeded
LfsInsufficientStorage
LfsUnavailable
LfsException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2020 Eclipse JGit Project. All rights reserved.