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.JsonValue
getJsonContent()
Gets theJsonValue
content contained in theResponse
.-
Methods inherited from interface org.forgerock.json.resource.Response
getCacheControl, getResourceApiVersion, setResourceApiVersion
-
-
-
-
Method Detail
-
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.
-
-