Class StaticContentHandler

    • Constructor Detail

      • StaticContentHandler

        public StaticContentHandler​(Controller controller)
    • Method Detail

      • handle

        public void handle​(javax.servlet.http.HttpServletRequest servletRequest,
                           javax.servlet.http.HttpServletResponse servletResponse,
                           Environment environment,
                           Site site,
                           PathInfo pathInfo)
                    throws javax.servlet.ServletException,
                           IOException
        Description copied from interface: RequestHandler
        Handles the given HttpServletRequest,
        Specified by:
        handle in interface RequestHandler
        Parameters:
        servletRequest - the current HttpServletRequest
        servletResponse - the current HttpServletResponse
        environment - the current Environment
        site - the current Site
        pathInfo - the current PathInfo
        Throws:
        javax.servlet.ServletException - if a servlet-specific error occurs
        IOException - if a resource could not be found