Package com.symphony.bdk.http.api
Class ApiResponse<T>
java.lang.Object
com.symphony.bdk.http.api.ApiResponse<T>
- Type Parameters:
T
- The type of data that is deserialized from response body
API response returned by API call.
-
Constructor Summary
ConstructorDescriptionApiResponse
(int statusCode, Map<String, List<String>> headers) Creates newApiResponse
instance.Creates newApiResponse
instance. -
Method Summary
-
Constructor Details
-
ApiResponse
Creates newApiResponse
instance.- Parameters:
statusCode
- The status code of HTTP responseheaders
- The headers of HTTP response
-
ApiResponse
Creates newApiResponse
instance.- Parameters:
statusCode
- The status code of HTTP responseheaders
- The headers of HTTP responsedata
- The object deserialized from response bod
-