Interface MessageHandler

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 interface MessageHandler
Handles one request and asynchronously supplies its reply payload. The handler is invoked on its owning scope's executor, never on the transport reader. Its returned stage supplies only the payload; the host creates the correlated REPLY envelope.
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(Message request)