Skip to content

apimatic/core-interfaces-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIMatic JAVA Core Library Interfaces

Maven Central Tests Lint Code Maintainability Licence

Introduction

This project contains the abstract layer for APIMatic's core library and Apimatic's JAVA SDK.

Prerequisites

  • The JRE flavor requires JDK 1.8.

Install the maven package

Core Interfaces's Maven group ID is io.apimatic, and its artifact ID is core-interfaces.

Interfaces

Name Description
Context To save both Request and Response after the completion of response
Callback To perform action before Request and after the completion of response
HttpClient To provide abstraction to execute API call in HttpClient
HttpHeaders To save additional information about the request and response
ClientConfiguration To hold the default configurations for HttpClient
Authentication To Provide abstraction for all Authentications
Request To create and manage HTTP Requests
Multipart To wrap byteArray and headers to be sent as part of a multipart request
MultipartFile To wrap file and headers to be sent as part of a multipart request
CoreEndpointConfiguration To Provide endpoint level configuration
Response To get the properties from the instance of Response
DynamicType To get the properties from the instance of Dynamic Response Type
ApiResponseType To get the properties from the instance of ApiResponseType
CompatibilityFactory Holds required converter methods to create SDK classes
CoreFileWrapper To wrap file and contentType to be sent as part of a HTTP request.
HttpApiException Default interface for all the exception models in SDK
ApiLogger Interface for Loggin Api Calls.
Logger Interface for logging at different levels.
LoggingConfiguration To hold logging configuration
HttpLoggingConfiguration To hold configuration for http logging
RequestLoggingConfiguration To hold Request configuration for logging
ResponseLoggingConfiguration To hold Response configuration for logging
Deserializer Functional interface to apply the deserialization function
ExceptionCreator Functional interface to create the SDK exception
Serializer Functional interface to apply the serialization function
ContextInitializer Functional Interface to apply the context initialization function for the response models

Enumerations

Name Description
Method Enumeration for all possible types of requests
HttpMethodType HTTP methods enumeration.
RetryOption Enumeration for RetryingOption of each API call
ArraySerializationFormat Enumeration for all ArraySerialization formats
MutliPartRequestType Enumeration for multipart request
ResponseClassType Enumeration for Response class type
HeaderLoggingPolicyLevel Enumeration of Header Logging ploicy