Class ApiResponse<T>
java.lang.Object
de.iip_ecosphere.platform.support.semanticId.eclass.handler.ApiResponse<T>
- Type Parameters:
T- The type of data that is deserialized from response body
API response returned by API call.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
statusCode
private final int statusCode -
headers
-
data
-
-
Constructor Details
-
ApiResponse
- Parameters:
statusCode- The status code of HTTP responseheaders- The headers of HTTP response
-
ApiResponse
- Parameters:
statusCode- The status code of HTTP responseheaders- The headers of HTTP responsedata- The object deserialized from response bod
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getHeaders
-
getData
-