jbpm-form-modeler-request-dispatcher 6.0.0.CR4-Pre1

org.jbpm.formModeler.service.bb.mvc.controller.responses
Class ForwardResponse

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.mvc.controller.responses.ForwardResponse
All Implemented Interfaces:
CommandResponse

public class ForwardResponse
extends Object
implements CommandResponse

Forwards to a resource


Constructor Summary
ForwardResponse(String resource)
           
 
Method Summary
 boolean execute(CommandRequest cmdReq)
          Executes the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardResponse

public ForwardResponse(String resource)
Method Detail

execute

public boolean execute(CommandRequest cmdReq)
                throws Exception
Executes the response.

Specified by:
execute in interface CommandResponse
Parameters:
cmdReq - Object encapsulating the request information.
Returns:
boolean if the execution has been successfuly executed, false otherwise.
Throws:
Exception

jbpm-form-modeler-request-dispatcher 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.