Interface GenericHandler<P>
- Type Parameters:
P
- the expectedpayload
type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface to specify
MessageHandler
logic with Java 8 Lambda expression:
.<Integer>handle((p, h) -> p / 2)
- Since:
- 5.0
- Author:
- Artem Bilan
-
Method Summary
-
Method Details
-
handle
-