Annotation Interface ResultHandler
Designates a
FunctionalInterface
annotated-type parameter which will receive the result returned from a
remote invocation. The targeted parameter may be any functional type which accepts a single argument. The return
value, if applicable, is not used.
This can be used with type such as Consumer<?>
or Function<?,?>
.
If there exists either ResultHandler
or ErrorHandler
, the method is assumed to be asynchronous and
the return value of the method will not be used