Package org.forgerock.json.resource
Interface ActionResponse
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<ActionResponse,ResourceException>asPromise()Return this response as a result Promise.JsonValuegetJsonContent()Gets theJsonValuecontent contained in theResponse.- 
Methods inherited from interface org.forgerock.json.resource.Response
getCacheControl, getResourceApiVersion, setResourceApiVersion 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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.
 
 
 - 
 
 -