org.jboss.portal.core.controller.handler
Class ResponseHandlerSelector
java.lang.Object
org.jboss.portal.core.controller.handler.ResponseHandlerSelector
- All Implemented Interfaces:
- ResponseHandler
public class ResponseHandlerSelector
- extends java.lang.Object
- implements ResponseHandler
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseHandlerSelector
public ResponseHandlerSelector()
getClassicResponseHandler
public ResponseHandler getClassicResponseHandler()
setClassicResponseHandler
public void setClassicResponseHandler(ResponseHandler classicResponseHandler)
getAjaxResponseHandler
public ResponseHandler getAjaxResponseHandler()
setAjaxResponseHandler
public void setAjaxResponseHandler(ResponseHandler ajaxResponseHandler)
processCommandResponse
public HandlerResponse processCommandResponse(ControllerContext controllerContext,
ControllerCommand controllerCommand,
ControllerResponse controllerResponse)
throws ResponseHandlerException
- Description copied from interface:
ResponseHandler
- Process the command response and provides an handler response.
- Specified by:
processCommandResponse
in interface ResponseHandler
- Parameters:
controllerContext
- the controller contextcontrollerCommand
- the controller commandcontrollerResponse
- the controller response
- Returns:
- the handler response
- Throws:
ResponseHandlerException