1 5 6 package org.infohazard.maverick.flow; 7 8 import java.util.Map ; 9 import javax.servlet.ServletConfig ; 10 import javax.servlet.ServletContext ; 11 import javax.servlet.http.HttpServletRequest ; 12 import javax.servlet.http.HttpServletResponse ; 13 14 18 public interface ControllerContext 19 { 20 23 public HttpServletRequest getRequest(); 24 25 28 public HttpServletResponse getResponse(); 29 30 33 public ServletConfig getServletConfig(); 34 35 38 public ServletContext getServletContext(); 39 40 43 public void setModel(Object mod); 44 45 48 public Object getModel(); 49 50 53 public void setControllerParam(String name, Object value); 54 55 58 public void setViewParam(String name, Object value); 59 60 63 public void setTransformParam(String name, Object value); 64 65 68 public Map getControllerParams(); 69 } 70 | Popular Tags |