org.jboss.portal.portlet.controller.response
Class ControllerResponse

java.lang.Object
  extended by org.jboss.portal.portlet.controller.response.ControllerResponse
Direct Known Subclasses:
PortletResponse, ResourceResponse

public abstract class ControllerResponse
extends java.lang.Object

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);


Constructor Summary
ControllerResponse()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerResponse

public ControllerResponse()


Copyright © 2008. All Rights Reserved.