| Package | Description |
|---|---|
| io.apimatic.core | |
| io.apimatic.core.request.async | |
| io.apimatic.core.types.pagination |
| Modifier and Type | Class and Description |
|---|---|
class |
ApiCall<ResponseType,ExceptionType extends CoreApiException>
An API call, or API request, is a message sent to a server asking an API to provide a service or
information.
|
static class |
ApiCall.Builder<ResponseType,ExceptionType extends CoreApiException>
Builder class for the
ApiCall class. |
class |
ErrorCase<ExceptionType extends CoreApiException>
A class is responsible to generate the SDK Exception.
|
class |
ResponseHandler<ResponseType,ExceptionType extends CoreApiException>
Handler that encapsulates the process of generating a response object from a
Response.
|
static class |
ResponseHandler.Builder<ResponseType,ExceptionType extends CoreApiException> |
| Modifier and Type | Method and Description |
|---|---|
static <ExceptionType extends CoreApiException> |
ErrorCase.setReason(String reason,
io.apimatic.coreinterfaces.type.functional.ExceptionCreator<ExceptionType> exceptionCreator)
Create the errorcase using the error reason and exception creator functional interface which
throws the respective exception while throwing.
|
static <ExceptionType extends CoreApiException> |
ErrorCase.setTemplate(String reason,
io.apimatic.coreinterfaces.type.functional.ExceptionCreator<ExceptionType> exceptionCreator)
Create the errorcase using the error reason and exception creator functional interface which
throws the respective exception while throwing.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseType |
ApiCall.execute()
Execute the ApiCall and returns the expected response.
|
ResponseType |
ResponseHandler.handle(io.apimatic.coreinterfaces.http.Context context,
EndpointConfiguration config,
GlobalConfiguration globalConfig)
Processes an HttpResponse and returns some value corresponding to that
response.
|
void |
ErrorCase.throwException(io.apimatic.coreinterfaces.http.Context httpContext)
this method throw the configured exception using functional interface.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AsyncResponseHandler<T,ExceptionType extends CoreApiException>
A Handler that handles the response asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
static <ResponseType,ExceptionType extends CoreApiException> |
AsyncExecutor.makeHttpCallAsync(RequestSupplier requestSupplier,
RequestExecutor requestExecutor,
AsyncResponseHandler<ResponseType,ExceptionType> responseHandler,
io.apimatic.coreinterfaces.logger.ApiLogger apiLogger)
Make an asynchronous HTTP end point call.
|
| Modifier and Type | Method and Description |
|---|---|
T |
AsyncResponseHandler.handle(io.apimatic.coreinterfaces.http.request.Request httpRequest,
io.apimatic.coreinterfaces.http.response.Response httpResponse)
Handles the response for an endpoint.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CheckedSupplier<T,E extends CoreApiException> |
class |
PaginatedData<I,P,R,E extends CoreApiException> |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends CoreApiException> |
CheckedSupplier.create(T value) |
static <T,E extends CoreApiException> |
CheckedSupplier.createError(Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
T |
CheckedSupplier.get()
Get the stored instance or throw a stored exception.
|
Copyright © 2025. All rights reserved.