|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.action.ActionResultExposer
public class ActionResultExposer
Specifies how an action result value should be exposed to an executing flow. The return value is exposed as an attribute in a configured scope.
EvaluateAction,
Serialized Form| Constructor Summary | |
|---|---|
ActionResultExposer(Expression resultExpression,
Class expectedResultType,
ConversionService conversionService)
Creates a action result exposer |
|
| Method Summary | |
|---|---|
void |
exposeResult(Object result,
RequestContext context)
Expose given bean method return value in given flow execution request context. |
Class |
getExpectedResultType()
Returns the desired result type to be exposed |
Expression |
getNameExpression()
Returns name of the attribute to index the return value with. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActionResultExposer(Expression resultExpression,
Class expectedResultType,
ConversionService conversionService)
resultExpression - the result expressionexpectedResultType - the expected result type| Method Detail |
|---|
public Expression getNameExpression()
public Class getExpectedResultType()
public void exposeResult(Object result,
RequestContext context)
result - the return valuecontext - the request contextpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||