Package org.azd.abstractions.handlers
Class DefaultResponseHandler
java.lang.Object
org.azd.abstractions.ResponseHandler
org.azd.abstractions.handlers.DefaultResponseHandler
Implementation of response handler.
-
Field Summary
Fields inherited from class org.azd.abstractions.ResponseHandler
apiResponse, retryHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
handle
(HttpResponse<T> response, RequestInformation requestInformation) Handles response from the API.Methods inherited from class org.azd.abstractions.ResponseHandler
create, getResponse
-
Constructor Details
-
DefaultResponseHandler
-
-
Method Details
-
handle
Handles response from the API.- Specified by:
handle
in classResponseHandler
- Type Parameters:
T
- Type parameter.- Parameters:
response
- HttpResponse object.requestInformation
- Request information sent to the API.- Returns:
- Object or any specified type.
-