Package org.forgerock.json.resource
Interface ActionResponse
- All Superinterfaces:
Response
Response object for JSON responses.
-
Method Summary
Modifier and TypeMethodDescriptionReturn this response as a result Promise.Gets theJsonValue
content contained in theResponse
.Methods inherited from interface org.forgerock.json.resource.Response
getCacheControl, getResourceApiVersion, setResourceApiVersion
-
Method Details
-
getJsonContent
JsonValue getJsonContent()Gets theJsonValue
content contained in theResponse
.- Returns:
- The
JsonValue
response content.
-
asPromise
Promise<ActionResponse,ResourceException> asPromise()Return this response as a result Promise.- Returns:
- A Promise whose result is this ActionResponse object.
-