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 Future<org.bson.Document> handle(org.bson.Document doc) Processes a request and repliesorg.bson.DocumenthandleSync(org.bson.Document doc)
-
Method Details
-
handleSync
org.bson.Document handleSync(org.bson.Document doc) -
handle
Description copied from interface:RequestHandlerProcesses a request and replies- Specified by:
handlein interfaceRequestHandler- Returns:
- document to reply with
-