Package net.officefloor.vertx
Class VertxMethodReturnTranslator<T>
java.lang.Object
net.officefloor.vertx.VertxMethodReturnTranslator<T>
- All Implemented Interfaces:
MethodReturnTranslator<io.vertx.core.Future<T>,T>
public class VertxMethodReturnTranslator<T>
extends Object
implements MethodReturnTranslator<io.vertx.core.Future<T>,T>
Reactor
MethodReturnTranslator.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtranslate(MethodReturnTranslatorContext<io.vertx.core.Future<T>, T> context) Translates theMethodreturn value for nextManagedFunctionargument.
-
Constructor Details
-
VertxMethodReturnTranslator
public VertxMethodReturnTranslator()
-
-
Method Details
-
translate
public void translate(MethodReturnTranslatorContext<io.vertx.core.Future<T>, T> context) throws ExceptionDescription copied from interface:MethodReturnTranslatorTranslates theMethodreturn value for nextManagedFunctionargument.- Specified by:
translatein interfaceMethodReturnTranslator<io.vertx.core.Future<T>,T> - Parameters:
context-MethodReturnTranslatorContext.- Throws:
Exception- If fails to translate.
-