Class ChainAction

java.lang.Object
com.zfabrik.util.microweb.actions.ChainAction
All Implemented Interfaces:
IAction

public class ChainAction extends Object implements IAction
A chain action will call all actions in order until one of them returns non-null;
  • Constructor Details

    • ChainAction

      public ChainAction(IAction... actions)
  • Method Details

    • handle

      public OutCome handle(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Specified by:
      handle in interface IAction
      Throws:
      javax.servlet.ServletException
      IOException