Class BoxHandlerWrapper

    • Method Detail

      • process

        public BoxHandlerResponse process​(jakarta.servlet.http.HttpServletRequest req,
                                          jakarta.servlet.http.HttpServletResponse res,
                                          Box box,
                                          BoxBean bean)
                                   throws BoxProcessException
        Description copied from interface: BoxHandler
        Called in second processing cycle.
        Specified by:
        process in interface BoxHandler
        Parameters:
        req - the http servlet request
        res - the http servlet response
        box - the box this handler has been associated with (and which was currently processed).
        bean - the already created bean.
        Returns:
        response
        Throws:
        BoxProcessException
      • submit

        public BoxHandlerResponse submit​(jakarta.servlet.http.HttpServletRequest req,
                                         jakarta.servlet.http.HttpServletResponse res,
                                         Box box)
                                  throws BoxProcessException
        Description copied from interface: BoxHandler
        Called in first processing cycle if a form submit has been detected (post requst or special indicator parameters). Note: Usage of submit in handlers is discouraged, use actions whenever possible.
        Specified by:
        submit in interface BoxHandler
        Parameters:
        req - request
        res - response
        box - box itself
        Returns:
        response
        Throws:
        BoxProcessException