Class AbstractHTMLAction

    • Constructor Detail

      • AbstractHTMLAction

        public AbstractHTMLAction()
    • Method Detail

      • enableDirectoryBrowserSupport

        protected void enableDirectoryBrowserSupport​(org.kohsuke.stapler.StaplerRequest req,
                                                     org.kohsuke.stapler.StaplerResponse rsp,
                                                     hudson.FilePath directoryToServe)
                                              throws IOException,
                                                     javax.servlet.ServletException
        Enables directory browsing for directoryToServe. Needed when showing the report, to be able to also serve referenced image and css files.
        Throws:
        IOException
        javax.servlet.ServletException
      • doDynamic

        public abstract void doDynamic​(org.kohsuke.stapler.StaplerRequest req,
                                       org.kohsuke.stapler.StaplerResponse rsp)
                                throws IOException,
                                       javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException