Interface JsonActionRunner.JsonAction

    • Method Detail

      • handleJsonRequest

        java.util.Map<java.lang.String,​?> handleJsonRequest​(java.util.Map<java.lang.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