Uses of Interface
io.helidon.webserver.jsonrpc.JsonRpcResponse
Packages that use JsonRpcResponse
-
Uses of JsonRpcResponse in io.helidon.webserver.jsonrpc
Methods in io.helidon.webserver.jsonrpc that return JsonRpcResponseModifier and TypeMethodDescriptionSet a JSON-RPC error on this response with a code and a message.Set a JSON-RPC error on this response with a code, a message and some associated data.Set a result for this response as a JSON value.Set a result as an arbitrary object that can be mapped to JSON.default JsonRpcResponse
JsonRpcResponse.rpcId
(int rpcId) Set a JSON-RPC ID for this response as an int.Set a JSON-RPC ID for this response.default JsonRpcResponse
Set a JSON-RPC ID for this response as a string.JsonRpcResponse.status
(int status) Set an HTTP status for the underlying response.default JsonRpcResponse
Set an HTTP status for the underlying response.Methods in io.helidon.webserver.jsonrpc with parameters of type JsonRpcResponseModifier and TypeMethodDescriptionJsonRpcExceptionHandler.handle
(JsonRpcRequest req, JsonRpcResponse res, Throwable throwable) Handler for exceptions thrown in JSON-RPC method handlers.void
JsonRpcHandler.handle
(JsonRpcRequest req, JsonRpcResponse res) Handler for a JSON-RPC call.