T - A response that is determined.ExceptionType - in case of a problem.@FunctionalInterface public interface AsyncResponseHandler<T,ExceptionType extends CoreApiException>
| Modifier and Type | Method and Description |
|---|---|
T |
handle(io.apimatic.coreinterfaces.http.request.Request httpRequest,
io.apimatic.coreinterfaces.http.response.Response httpResponse)
Handles the response for an endpoint.
|
T handle(io.apimatic.coreinterfaces.http.request.Request httpRequest, io.apimatic.coreinterfaces.http.response.Response httpResponse) throws IOException, ExceptionType extends CoreApiException
httpRequest - Request which is made for endpoint.httpResponse - Response which is received after execution.IOException - IOException Signals that an I/O exception of some sort has occurred.ExceptionType - The custom exception which is configured for that end point.ExceptionType extends CoreApiExceptionCopyright © 2025. All rights reserved.