Interface MethodReturnTranslator<R,T>
-
- Type Parameters:
R
-MethodFunction
return type.T
- Translated type.
- All Known Implementing Classes:
ReactorMethodReturnTranslator
public interface MethodReturnTranslator<R,T>
Translate the return value of theMethodFunction
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
translate(MethodReturnTranslatorContext<R,T> context)
Translates theMethod
return value for nextManagedFunction
argument.
-
-
-
Method Detail
-
translate
void translate(MethodReturnTranslatorContext<R,T> context) throws java.lang.Exception
Translates theMethod
return value for nextManagedFunction
argument.- Parameters:
context
-MethodReturnTranslatorContext
.- Throws:
java.lang.Exception
- If fails to translate.
-
-