Class HttpViewHandler

    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • HttpViewHandler

        public HttpViewHandler()
    • Method Detail

      • init

        public void init​(ServletContext context)
                  throws ViewHandlerException
        Description copied from interface: ViewHandler
        Initializes the handler. Since handlers use the singleton pattern this method should only be called the first time the handler is used.
        context - ServletContext This may be needed by the handler in order to lookup properties or XML definition files for rendering pages or handler options.
      • render

        public void render​(java.lang.String name,
                           java.lang.String page,
                           java.lang.String info,
                           java.lang.String contentType,
                           java.lang.String encoding,
                           HttpServletRequest request,
                           HttpServletResponse response)
                    throws ViewHandlerException
        Description copied from interface: ViewHandler
        Render the page.
        name - The name of the view.
        page - The source of the view; could be a page, url, etc depending on the type of handler.
        info - An info string attached to this view
        request - The HttpServletRequest object used when requesting this page.
        response - The HttpServletResponse object to be used to present the page.