Package google.registry.request
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 TypeMethodDescriptionhandleJsonRequest
(Map<String, ?> json) Handles JSON HTTP request.
-
Method Details
-
handleJsonRequest
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
-