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.HttpServletServlet which outputs debug information provided by thegetContainerSpecificDebugInfo(HttpServletRequest)method.- Version:
- April 2012
- Author:
- Radoslav Husar
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractCommonDebugServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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.StringgetServletInfo()-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service
-
-
-
-
Field Detail
-
KEY
public static final String KEY
-
-
Method Detail
-
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
public String getServletInfo()
- Specified by:
getServletInfoin interfacejakarta.servlet.Servlet- Overrides:
getServletInfoin classjakarta.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
-
-