org.jboss.portal.core.controller.handler
Interface ResponseHandler

All Known Implementing Classes:
AbstractResponseHandler, AjaxResponseHandler, ClassicResponseHandler, OtherResponseHandler, PortalObjectResponseHandler, PortletInstanceResponseHandler, PortletResponseHandler, ResponseHandlerSelector

public interface ResponseHandler

The response handler interface defines the contract for translating the result of the execution of a command into a response adapated to the client side caller.

Version:
$Revision: 1.1 $
Author:
Julien Viet

Method Summary
 HandlerResponse processCommandResponse(ControllerContext controllerContext, ControllerCommand controllerCommand, ControllerResponse controllerResponse)
          Process the command response and provides an handler response.
 

Method Detail

processCommandResponse

HandlerResponse processCommandResponse(ControllerContext controllerContext,
                                       ControllerCommand controllerCommand,
                                       ControllerResponse controllerResponse)
                                       throws ResponseHandlerException
Process the command response and provides an handler response.

Parameters:
controllerContext - the controller context
controllerCommand - the controller command
controllerResponse - the controller response
Returns:
the handler response
Throws:
ResponseHandlerException