jodd.madvoc.result
Class ServletUrlRedirectResult

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

public class ServletUrlRedirectResult
extends ActionResult

Simply sends redirect to an external location.


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class jodd.madvoc.result.ActionResult
initialized, type
 
Constructor Summary
ServletUrlRedirectResult()
           
 
Method Summary
 void render(ActionRequest actionRequest, java.lang.Object resultObject, java.lang.String resultValue, java.lang.String resultPath)
          Redirects to the external location.
 
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

ServletUrlRedirectResult

public ServletUrlRedirectResult()
Method Detail

render

public void render(ActionRequest actionRequest,
                   java.lang.Object resultObject,
                   java.lang.String resultValue,
                   java.lang.String resultPath)
            throws java.lang.Exception
Redirects to the external location.

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-2012 Jodd Team