Package org.eclipse.jgit.http.server
Class TextFileServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.eclipse.jgit.http.server.TextFileServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
class TextFileServlet extends javax.servlet.http.HttpServletSends a small text meta file from the repository.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfileNameprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description TextFileServlet(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)private byte[]read(javax.servlet.http.HttpServletRequest req)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
fileName
private final java.lang.String fileName
-
-
Method Detail
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws java.io.IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
java.io.IOException
-
read
private byte[] read(javax.servlet.http.HttpServletRequest req) throws java.io.IOException- Throws:
java.io.IOException
-
-