Package de.otto.esidialect
Class Response
java.lang.Object
de.otto.esidialect.Response
Response from the fetch-function. It uses byte[] instead of String so that binary content can be passed as well.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]int
-
Constructor Details
-
Response
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getResponseBody
-
getResponseBodyAsBytes
public byte[] getResponseBodyAsBytes() -
getStatusText
-
getContentType
-