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 theJsonValuecontent contained in theResponse.Methods inherited from interface org.forgerock.json.resource.Response
getCacheControl, getResourceApiVersion, setResourceApiVersion 
- 
Method Details
- 
getJsonContent
JsonValue getJsonContent()Gets theJsonValuecontent contained in theResponse.- Returns:
 - The 
JsonValueresponse content. 
 - 
asPromise
Promise<ActionResponse,ResourceException> asPromise()Return this response as a result Promise.- Returns:
 - A Promise whose result is this ActionResponse object.
 
 
 -