Interface JsonActionRunner.JsonAction

All Known Implementing Classes:
GenerateZoneFilesAction, VerifyOteAction
Enclosing class:
JsonActionRunner

public static interface JsonActionRunner.JsonAction
Interface for actions that read and write JSON objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Handles JSON HTTP request.
  • Method Details

    • handleJsonRequest

      Map<String,?> handleJsonRequest(Map<String,?> json)
      Handles JSON HTTP request.
      Parameters:
      json - object extracted from request body
      Returns:
      an arbitrary JSON object, which is never null
      Throws:
      HttpException - to send a non-200 status code / message to client