T
- The type of data that is deserialized from response bodypublic class ApiResponse<T> extends Object
Constructor and Description |
---|
ApiResponse(int statusCode,
Map<String,List<String>> headers) |
ApiResponse(int statusCode,
Map<String,List<String>> headers,
T data) |
Modifier and Type | Method and Description |
---|---|
T |
getData()
Get the data
|
Map<String,List<String>> |
getHeaders()
Get the headers
|
int |
getStatusCode()
Get the status code
|