|
|||||||||
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 FormConstructor Summary | |
---|---|
ActionResultExposer(Expression resultExpression,
java.lang.Class expectedResultType,
ConversionService conversionService)
Creates a action result exposer |
Method Summary | |
---|---|
void |
exposeResult(java.lang.Object result,
RequestContext context)
Expose given bean method return value in given flow execution request context. |
java.lang.Class |
getExpectedResultType()
Returns the desired result type to be exposed |
Expression |
getNameExpression()
Returns name of the attribute to index the return value with. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionResultExposer(Expression resultExpression, java.lang.Class expectedResultType, ConversionService conversionService)
resultExpression
- the result expressionexpectedResultType
- the expected result typeMethod Detail |
---|
public Expression getNameExpression()
public java.lang.Class getExpectedResultType()
public void exposeResult(java.lang.Object result, RequestContext context)
result
- the return valuecontext
- the request contextpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |