Package io.mats3

Interface MatsEndpoint.ProcessSingleLambda<R,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.

@FunctionalInterface public static interface MatsEndpoint.ProcessSingleLambda<R,I>
Specialization of ProcessLambda which does not have a state, and have the same return-semantics as ProcessReturnLambda - used for single-stage endpoints as these does not have multiple stages to transfer state between.

However, since it is possible to send state along with the request, one may still use the ProcessReturnLambda for single-stage endpoints, but in this case you need to code it up yourself by making a multi-stage and then just adding a single lastStage.