Class ActionDumpRequest

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ActionDumpRequest
    extends javax.servlet.http.HttpServlet
    Dump the HTTP request
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doGet​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)  
      void doPost​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)  
      void doPrintInformation​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)  
      java.lang.String getServletInfo()  
      static java.lang.String printEnvironment()
      printEnvironment
      static void printRequest​(java.io.PrintWriter pw, javax.servlet.http.HttpServletRequest req)  
      java.lang.String printServletContext()  
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActionDumpRequest

        public ActionDumpRequest()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse resp)
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest req,
                           javax.servlet.http.HttpServletResponse resp)
      • doPrintInformation

        public void doPrintInformation​(javax.servlet.http.HttpServletRequest req,
                                       javax.servlet.http.HttpServletResponse resp)
      • printRequest

        public static void printRequest​(java.io.PrintWriter pw,
                                        javax.servlet.http.HttpServletRequest req)
      • printEnvironment

        public static java.lang.String printEnvironment()
        printEnvironment
        Returns:
        String that is the HTML of the System properties as name/value pairs. The values are with single quotes independent of whether or not the value has single quotes in it.
      • printServletContext

        public java.lang.String printServletContext()
      • getServletInfo

        public java.lang.String getServletInfo()
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
        Overrides:
        getServletInfo in class javax.servlet.GenericServlet