Class MockResponse
java.lang.Object
com.codename1.backend.test.MockResponse
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]The body as UTF-8 text.The Content-Type, or null.The value of a cookie this response sets, or null.The first value of a header, by a name in any case; or null.The names of the headers set, in order.getHeaders(String name) Every value of a header, by a name in any case.The Location of a redirect, or null.int
-
Method Details
-
getStatus
public int getStatus() -
getContentType
The Content-Type, or null. -
getContentAsString
The body as UTF-8 text. -
getContentAsByteArray
public byte[] getContentAsByteArray() -
getHeader
-
getHeaders
-
getHeaderNames
The names of the headers set, in order. -
getCookie
-
getRedirectedUrl
The Location of a redirect, or null.
-