Package de.kentoj.scrowlib.messaging
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.
-
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<com.leakyabstractions.result.api.Result<org.bson.Document, String>> handle(org.bson.Document doc) Processes a request and replies
-
Method Details
-
handle
CompletionStage<com.leakyabstractions.result.api.Result<org.bson.Document,String>> handle(org.bson.Document doc) Processes a request and replies- Returns:
- result to send back to the requesting client.
-