Package io.mats3
Interface MatsEndpoint.ProcessReturnLambda<R,S,I>
- Enclosing interface:
- MatsEndpoint<R,
S>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Specialization of
ProcessLambda
that makes it possible to do a "return
replyDto" at the end of the stage, which is just a convenient way to invoke
MatsEndpoint.ProcessContext.reply(Object)
. Used for the last process stage of a multistage endpoint.-
Method Summary
-
Method Details
-
process
R process(MatsEndpoint.ProcessContext<R> ctx, S state, I msg) throws MatsEndpoint.MatsRefuseMessageException
-