Class RedirectImmediatelyHandler

  • All Implemented Interfaces:
    BoxHandler

    public class RedirectImmediatelyHandler
    extends AbstractBoxHandler
    This handler sends a redirect request back to the browser. The redirect target is stored in the parameter1 of the associated box. This is used as builtin redirect mechanism.
    Author:
    lrosenberg
    • Constructor Detail

      • RedirectImmediatelyHandler

        public RedirectImmediatelyHandler()
    • Method Detail

      • process

        public BoxHandlerResponse process​(jakarta.servlet.http.HttpServletRequest req,
                                          jakarta.servlet.http.HttpServletResponse res,
                                          Box box,
                                          BoxBean bean)
        Description copied from class: AbstractBoxHandler
        Returns ResponseContinue.INSTANCE.
        Specified by:
        process in interface BoxHandler
        Overrides:
        process in class AbstractBoxHandler
        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