|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Net.HttpResponse
HTTP response interface with methods to get the response data as a byte[], a String
or an InputStream
.
Method Summary | |
---|---|
byte[] |
getResult()
Returns the data of the HTTP response as a byte[]. |
java.io.InputStream |
getResultAsStream()
Returns the data of the HTTP response as an InputStream . |
java.lang.String |
getResultAsString()
Returns the data of the HTTP response as a String . |
Net.HttpStatus |
getStatus()
Returns the Net.HttpStatus containing the statusCode of the HTTP response. |
Method Detail |
---|
byte[] getResult()
Net.HttpRequest.setTimeOut(int)
java.lang.String getResultAsString()
String
.
Net.HttpRequest.setTimeOut(int)
java.io.InputStream getResultAsStream()
InputStream
.
InputStream
with the Net.HttpResponse
data.Net.HttpStatus getStatus()
Net.HttpStatus
containing the statusCode of the HTTP response.
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |