- All Superinterfaces:
ServerLifecycle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A JSON-RPC handler that can process a request and produce a response.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(JsonRpcRequest req, JsonRpcResponse res) Handler for a JSON-RPC call.Methods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart
-
Method Details
-
handle
Handler for a JSON-RPC call.- Parameters:
req
- the requestres
- the response- Throws:
Exception
- if an unexpected condition is found
-