public class GitServlet extends UploadServlet implements org.osgi.util.tracker.ServiceTrackerCustomizer
Modifier and Type | Class and Description |
---|---|
protected static class |
GitServlet.Params |
Constructor and Description |
---|
GitServlet() |
Modifier and Type | Method and Description |
---|---|
Object |
addingService(org.osgi.framework.ServiceReference serviceReference) |
protected File |
createZip(File file) |
void |
destroy() |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
init(javax.servlet.ServletConfig config) |
void |
modifiedService(org.osgi.framework.ServiceReference serviceReference,
Object o) |
protected void |
notFound(javax.servlet.http.HttpServletResponse resp) |
protected GitServlet.Params |
parsePararams(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
removedService(org.osgi.framework.ServiceReference serviceReference,
Object o) |
uploadFiles
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected File createZip(File file) throws IOException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class UploadServlet
javax.servlet.ServletException
IOException
protected GitServlet.Params parsePararams(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IOException
protected void notFound(javax.servlet.http.HttpServletResponse resp) throws IOException
IOException
public Object addingService(org.osgi.framework.ServiceReference serviceReference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference serviceReference, Object o)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference serviceReference, Object o)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Copyright © 2020 JBoss by Red Hat. All rights reserved.