Class JsonRpcRouting

java.lang.Object
io.helidon.webserver.jsonrpc.JsonRpcRouting
All Implemented Interfaces:
HttpService, ServerLifecycle

public class JsonRpcRouting extends Object implements HttpService
JSON-RPC routing is an HTTP Service, as it is based on HTTP protocol.

Simply register it with HTTP routing under a desired path.

  • Method Details

    • builder

      public static JsonRpcRouting.Builder builder()
      Return a builder for this class.
      Returns:
      a new builder
    • routing

      public void routing(HttpRules httpRules)
      Description copied from interface: HttpService
      Updates the routing to add handlers of this service.
      Specified by:
      routing in interface HttpService
      Parameters:
      httpRules - to update