Class RequestHistoryConsolePlugin

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

    public class RequestHistoryConsolePlugin
    extends javax.servlet.http.HttpServlet
    Felix OSGi console plugin that displays info about recent requests processed by Sling. Info about all requests can be found in the logs, but this is useful when testing or explaining things.
    See Also:
    Serialized Form
    • Constructor Detail

      • RequestHistoryConsolePlugin

        public RequestHistoryConsolePlugin​(RequestInfoProvider provider)
    • Method Detail

      • doGet

        protected void doGet​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws javax.servlet.ServletException,
                             IOException
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doPost

        protected void doPost​(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse resp)
                       throws IOException
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        IOException