org.apache.sling.event.impl.jobs.console
Class WebConsolePlugin
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.sling.event.impl.jobs.console.WebConsolePlugin
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
@Service(value=javax.servlet.Servlet.class)
@Properties(value={@Property(name="felix.webconsole.label",value="slingevent",propertyPrivate=true),@Property(name="felix.webconsole.title",value="Sling Eventing",propertyPrivate=true),@Property(name="felix.webconsole.configprinter.modes",value={"zip","txt"},propertyPrivate=true)})
public class WebConsolePlugin
- extends javax.servlet.http.HttpServlet
This is a webconsole plugin displaying the active queues, some statistics
and the configurations.
- Since:
- 3.0
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
printConfiguration(PrintWriter pw,
String mode)
Configuration printer for the web console. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebConsolePlugin
public WebConsolePlugin()
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
printConfiguration
public void printConfiguration(PrintWriter pw,
String mode)
- Configuration printer for the web console.
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.