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() |
Map<String,List<String>> |
getHeaders() |
int |
getStatusCode() |
Copyright © 2021. All rights reserved.