jodd.madvoc.result
Class RawResult

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

public class RawResult
extends ActionResult

Raw results directly writes byte context to the output. Output is closed after writing.


Field Summary
protected  MadvocConfig madvocConfig
           
static java.lang.String NAME
           
 
Fields inherited from class jodd.madvoc.result.ActionResult
initialized, type
 
Constructor Summary
RawResult()
           
 
Method Summary
 void render(ActionRequest actionRequest, java.lang.Object resultObject, java.lang.String resultValue, java.lang.String resultPath)
          Executes result on given action result value.
 
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

madvocConfig

@In(scope=CONTEXT)
protected MadvocConfig madvocConfig
Constructor Detail

RawResult

public RawResult()
Method Detail

render

public void render(ActionRequest actionRequest,
                   java.lang.Object resultObject,
                   java.lang.String resultValue,
                   java.lang.String resultPath)
            throws java.io.IOException
Description copied from class: ActionResult
Executes result on given action result value.

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.io.IOException


Copyright © 2003-2011 Jodd Team