Class JsonRpcRouting
java.lang.Object
io.helidon.webserver.jsonrpc.JsonRpcRouting
- All Implemented Interfaces:
HttpService, ServerLifecycle
JSON-RPC routing is an HTTP Service, as it is based on HTTP protocol.
Simply register it with HTTP routing under a desired path.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonRpcRouting.Builderbuilder()Return a builder for this class.voidUpdates the routing to add handlers of this service.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServerLifecycle
afterStart, afterStop, beforeStartModifier and TypeMethodDescriptiondefault voidafterStart(WebServer webServer) After server start.default voidAfter server stop.default voidBefore server start.
-
Method Details
-
builder
Return a builder for this class.- Returns:
- a new builder
-
routing
Description copied from interface:HttpServiceUpdates the routing to add handlers of this service.- Specified by:
routingin interfaceHttpService- Parameters:
httpRules- to update
-