public class JacocoServlet
extends javax.servlet.http.HttpServlet
EXPLAIN for usage information,
which is also available at /system/sling/jacoco after installing this servlet with the default settings.| Modifier and Type | Field and Description |
|---|---|
static String |
EXEC_PATH
Requests ending with this subpath send the jacoco data
|
static String |
EXPLAIN |
| Constructor and Description |
|---|
JacocoServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext ctx) |
protected void |
deactivate(org.osgi.service.component.ComponentContext ctx) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Get the jacoco execution data without resetting the agent
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Get the jacoco execution data and reset the agent.
|
protected String |
getServletPath(org.osgi.service.component.ComponentContext ctx)
Return the path at which to mount this servlet, or null
if it must not be mounted.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String EXPLAIN
public static final String EXEC_PATH
protected void activate(org.osgi.service.component.ComponentContext ctx)
throws javax.servlet.ServletException,
org.osgi.service.http.NamespaceException
javax.servlet.ServletExceptionorg.osgi.service.http.NamespaceExceptionprotected String getServletPath(org.osgi.service.component.ComponentContext ctx)
protected void deactivate(org.osgi.service.component.ComponentContext ctx)
throws javax.servlet.ServletException,
org.osgi.service.http.NamespaceException
javax.servlet.ServletExceptionorg.osgi.service.http.NamespaceExceptionprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletreq - the requestresp - the responsejavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletreq - the requestresp - the responsejavax.servlet.ServletExceptionIOExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.