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
,org.apache.sling.event.jobs.consumer.JobConsumer
public class WebConsolePlugin
extends javax.servlet.http.HttpServlet
implements org.apache.sling.event.jobs.consumer.JobConsumer
This is a web console plugin displaying the active queues, some statistics
and the configurations.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sling.event.jobs.consumer.JobConsumer
org.apache.sling.event.jobs.consumer.JobConsumer.AsyncHandler, org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
-
Field Summary
Fields inherited from interface org.apache.sling.event.jobs.consumer.JobConsumer
PROPERTY_JOB_ASYNC_HANDLER, PROPERTY_TOPICS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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) org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
process
(org.apache.sling.event.jobs.Job job) 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, getServletName, init, init, log, log
-
Constructor Details
-
WebConsolePlugin
public WebConsolePlugin()
-
-
Method Details
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Overrides:
doPost
in classjavax.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 classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
process
public org.apache.sling.event.jobs.consumer.JobConsumer.JobResult process(org.apache.sling.event.jobs.Job job) - Specified by:
process
in interfaceorg.apache.sling.event.jobs.consumer.JobConsumer
-