summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.lfs.server')
-rw-r--r--org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java
index a6079671de..a8e3c11e27 100644
--- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java
+++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/FileLfsServlet.java
@@ -125,7 +125,20 @@ public class FileLfsServlet extends HttpServlet {
}
}
- private AnyLongObjectId getObjectToTransfer(HttpServletRequest req,
+ /**
+ * Retrieve object id from request
+ *
+ * @param req
+ * servlet request
+ * @param rsp
+ * servlet response
+ * @return object id, or <code>null</code> if the object id could not be
+ * retrieved
+ * @throws IOException
+ * if an I/O error occurs
+ * @since 4.6
+ */
+ protected AnyLongObjectId getObjectToTransfer(HttpServletRequest req,
HttpServletResponse rsp) throws IOException {
String info = req.getPathInfo();
int length = 1 + Constants.LONG_OBJECT_ID_STRING_LENGTH;