public static interface Net.HttpResponse
String or an InputStream.| Modifier and Type | Method and Description |
|---|---|
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. |
HttpStatus |
getStatus()
Returns the
HttpStatus containing the statusCode of the HTTP response. |
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.HttpStatus getStatus()
HttpStatus containing the statusCode of the HTTP response.