@Service(value=javax.servlet.Servlet.class)
@Property(name="alias",
value="/system/sling/tooling/install")
public class InstallServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
InstallServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static void |
zipDir(File sourceDir,
ZipOutputStream zos,
String path) |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
@Activate protected void activate(org.osgi.framework.BundleContext bundleContext)
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public static void zipDir(File sourceDir, ZipOutputStream zos, String path) throws IOException
IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.