public class ApiResponse<T> extends Object
| Constructor and Description |
|---|
ApiResponse(int statusCode,
Map<String,List<String>> headers)
Constructor for ApiResponse.
|
ApiResponse(int statusCode,
Map<String,List<String>> headers,
T data)
Constructor for ApiResponse.
|
| 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. |
Copyright © 2023. All rights reserved.