Class AbstractCommonDebugServlet

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String KEY  
      • Fields inherited from class jakarta.servlet.http.HttpServlet

        LEGACY_DO_HEAD
    • Field Detail

      • KEY

        public static final String KEY
    • Constructor Detail

      • AbstractCommonDebugServlet

        public AbstractCommonDebugServlet()
    • Method Detail

      • 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