[jboss-dev-forums] [Design of JBoss Portal] - Re: Portlet Controller

julien@jboss.com do-not-reply at jboss.com
Thu Jan 31 06:22:13 EST 2008


I have added the base class for controller responses:

   /**
  |     * Must be used as base class for high level response provided by the controller that
  |     * will be translated into something at the portal level. The goal is to avoid to manipulate
  |     * the HTTP response directly.
  |     *
  |     * The test bed will of course use the HTTP response but the Presentation Framework will
  |     * work differently.
  |     *
  |     * So we really need to abstract everything done with the HttpServletResponse and *never* use
  |     * it in the controller.
  |     *
  |     * Typical usage should be :
  |     * ControllerResponse response = controller.invoker(ControllerRequest request);
  |     * 
  |     */
  |    static class ControllerResponse
  |    {
  | 
  |    }


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125089#4125089

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125089



More information about the jboss-dev-forums mailing list