org.apache.sling.hc.webconsole.impl
Class HealthCheckWebconsolePlugin

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.sling.hc.webconsole.impl.HealthCheckWebconsolePlugin
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@Service(value=javax.servlet.Servlet.class)
@Properties(value={@Property(name="service.description",value="Sling Health Check Web Console Plugin"),@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="felix.webconsole.label",value="healthcheck"),@Property(name="felix.webconsole.title",value="Sling Health Check"),@Property(name="felix.webconsole.category",value="Sling"),@Property(name="felix.webconsole.css",value="/healthcheck/res/ui/healthcheck.css")})
public class HealthCheckWebconsolePlugin
extends javax.servlet.http.HttpServlet

Webconsole plugin to execute health check services

See Also:
Serialized Form

Field Summary
static String CATEGORY
           
static String LABEL
           
static String PARAM_DEBUG
           
static String PARAM_QUIET
           
static String PARAM_TAGS
           
static String TITLE
           
 
Constructor Summary
HealthCheckWebconsolePlugin()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
           
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE

public static final String TITLE
See Also:
Constant Field Values

LABEL

public static final String LABEL
See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
See Also:
Constant Field Values

PARAM_TAGS

public static final String PARAM_TAGS
See Also:
Constant Field Values

PARAM_DEBUG

public static final String PARAM_DEBUG
See Also:
Constant Field Values

PARAM_QUIET

public static final String PARAM_QUIET
See Also:
Constant Field Values
Constructor Detail

HealthCheckWebconsolePlugin

public HealthCheckWebconsolePlugin()
Method Detail

activate

@Activate
protected void activate(org.osgi.service.component.ComponentContext ctx)

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.