Class UiApiResponse
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.invoke.UiApiResponse
The result of an in-process UI API call: exactly what an HTTP client of the
UI API would have received.
-
Constructor Details
-
UiApiResponse
-
-
Method Details
-
isSuccess
public boolean isSuccess()Whether the status is 2xx. -
getJson
public com.fasterxml.jackson.databind.JsonNode getJson() throws com.fasterxml.jackson.core.JsonProcessingExceptionThe body parsed as JSON (null for an empty body).- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getStatus
public int getStatus()Getter for status -
getHeaders
-
getBody
Getter for body
-