Interface JsonRpcRules


public interface JsonRpcRules
The JSON-RPC rules on which handlers can be registered.
  • Method Details

    • register

      JsonRpcRules register(String pathPattern, JsonRpcHandlers handlers)
      Register JSON-RPC handlers on a given path pattern.
      Parameters:
      pathPattern - the path pattern
      handlers - the handlers
      Returns:
      the rules instance
    • register

      JsonRpcRules register(String pathPattern, String method, JsonRpcHandler handler)
      Register a single JSON-RPC handler given a method and path pattern.
      Parameters:
      pathPattern - the path pattern
      method - the method name
      handler - the handler
      Returns:
      the rules instance