Interface RequestHandler

All Known Subinterfaces:
SyncRequestHandler
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 RequestHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    Future<org.bson.Document>
    handle(org.bson.Document doc)
    Processes a request and replies
  • Method Details

    • handle

      Future<org.bson.Document> handle(org.bson.Document doc)
      Processes a request and replies
      Returns:
      document to reply with