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
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) abstract StringgetContainerSpecificDebugInfo(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, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
-
Field Details
-
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:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
IOException
-
getServletInfo
- Specified by:
getServletInfoin interfacejakarta.servlet.Servlet- Overrides:
getServletInfoin classjakarta.servlet.GenericServlet
-
getContainerSpecificDebugInfo
Implement this method to print out any debug info specific to the container or EE version.- Parameters:
req- HttpServletRequest- Returns:
- debug info String
-