public class Response extends Object
Constructor and Description |
---|
Response(InputStream stream,
int statusCode) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the json content from http response
|
int |
getStatusCode()
Returns the http status code
|
InputStream |
getStream()
Returns the response data as stream
|
public Response(InputStream stream, int statusCode)
public String getContent() throws ConnectionException
ConnectionException
public int getStatusCode()
public InputStream getStream()
Copyright © 2017. All rights reserved.