Interface MethodReturnTranslator<R,T>
- Type Parameters:
R-MethodFunctionreturn type.T- Translated type.
- All Known Implementing Classes:
ReactorMethodReturnTranslator,VertxMethodReturnTranslator
public interface MethodReturnTranslator<R,T>
Translate the return value of the
MethodFunction.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidtranslate(MethodReturnTranslatorContext<R, T> context) Translates theMethodreturn value for nextManagedFunctionargument.
-
Method Details
-
translate
Translates theMethodreturn value for nextManagedFunctionargument.- Parameters:
context-MethodReturnTranslatorContext.- Throws:
Exception- If fails to translate.
-