T
- The type of data that is deserialized from response bodypublic class ApiResponse<T> extends Object
Constructor | Description |
---|---|
ApiResponse(int statusCode,
Map<String,List<String>> headers) |
|
ApiResponse(int statusCode,
Map<String,List<String>> headers,
T data) |
Modifier and Type | Method | Description |
---|---|---|
T |
getData() |
|
Map<String,List<String>> |
getHeaders() |
|
int |
getStatusCode() |
Copyright © 2018. All rights reserved.