jodd.madvoc.result
Class ChainResult

java.lang.Object
  extended by jodd.madvoc.result.ActionResult
      extended by jodd.madvoc.result.ChainResult

public class ChainResult
extends ActionResult

Process chain results. Chaining is very similar to forwarding, except it is done by MadvocServletFilter and not by container. Chaining to next action request happens after the complete execution of current one: after all interceptors and this result has been finished.


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class jodd.madvoc.result.ActionResult
initialized, type
 
Constructor Summary
ChainResult()
           
 
Method Summary
 void render(ActionRequest actionRequest, java.lang.Object resultObject, java.lang.String resultValue, java.lang.String resultPath)
          Simply sets the next action request for the chain.
 
Methods inherited from class jodd.madvoc.result.ActionResult
getType, init, initialized, isInitialized, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

ChainResult

public ChainResult()
Method Detail

render

public void render(ActionRequest actionRequest,
                   java.lang.Object resultObject,
                   java.lang.String resultValue,
                   java.lang.String resultPath)
            throws java.lang.Exception
Simply sets the next action request for the chain.

Specified by:
render in class ActionResult
Parameters:
actionRequest - action request
resultObject - reference to action method result, may be null
resultValue - string representation of result, may be null
resultPath - result path
Throws:
java.lang.Exception


Copyright © 2003-2011 Jodd Team