Package io.mats3.util

Class MatsFuturizer.Reply<T>

java.lang.Object
io.mats3.util.MatsFuturizer.Reply<T>
Type Parameters:
T - the type of the reply class.
Enclosing class:
MatsFuturizer

public static class MatsFuturizer.Reply<T> extends Object
An instance of this class will be the return value of any CompletableFutures created with the MatsFuturizer. It will contain the reply from the requested endpoint, and the MatsEndpoint.DetachedProcessContext from the received message, from where you can get any incoming "sideloads" and other metadata. It also contains a timestamp of when the outgoing message was initiated.