Class AbstractCommonDebugServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.jboss.test.clusterbench.common.debug.AbstractCommonDebugServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public abstract class AbstractCommonDebugServlet extends jakarta.servlet.http.HttpServlet
Servlet which outputs debug information provided by the getContainerSpecificDebugInfo(HttpServletRequest) method.
Version:
April 2012
Author:
Radoslav Husar
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
     
    abstract String
    getContainerSpecificDebugInfo(jakarta.servlet.http.HttpServletRequest req)
    Implement this method to print out any debug info specific to the container or EE version.
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • KEY

      public static final String KEY
  • Constructor Details

    • AbstractCommonDebugServlet

      public AbstractCommonDebugServlet()
  • Method Details

    • doGet

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

      public String getServletInfo()
      Specified by:
      getServletInfo in interface jakarta.servlet.Servlet
      Overrides:
      getServletInfo in class jakarta.servlet.GenericServlet
    • getContainerSpecificDebugInfo

      public abstract String getContainerSpecificDebugInfo(jakarta.servlet.http.HttpServletRequest req)
      Implement this method to print out any debug info specific to the container or EE version.
      Parameters:
      req - HttpServletRequest
      Returns:
      debug info String