Package de.kentoj.scrowlib.messaging
Interface SyncRequestHandler
- All Superinterfaces:
RequestHandler
- 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 TypeMethodDescriptiondefault CompletionStage<com.leakyabstractions.result.api.Result<org.bson.Document, String>> handle(org.bson.Document doc) Processes a request and repliescom.leakyabstractions.result.api.Result<org.bson.Document, String> handleSync(org.bson.Document doc)
-
Method Details
-
handleSync
-
handle
default CompletionStage<com.leakyabstractions.result.api.Result<org.bson.Document,String>> handle(org.bson.Document doc) Description copied from interface:RequestHandlerProcesses a request and replies- Specified by:
handlein interfaceRequestHandler- Returns:
- result to send back to the requesting client.
-