Package org.apache.fineract.client.util
Class FineractClient.Builder
java.lang.Object
org.apache.fineract.client.util.FineractClient.Builder
- Enclosing class:
FineractClient
-
Method Summary
Modifier and TypeMethodDescriptionbuild()okhttp3.OkHttpClient.BuilderObtain the internal OkHttp Builder.retrofit2.Retrofit.BuilderObtain the internal Retrofit Builder.insecure(boolean insecure) Skip Fineract API host SSL certificate verification.logging(okhttp3.logging.HttpLoggingInterceptor.Level level) readTimeout(Duration timeout)
-
Method Details
-
baseURL
-
tenant
-
basicAuth
-
logging
-
readTimeout
-
insecure
Skip Fineract API host SSL certificate verification. DO NOT USE THIS when invoking a production server's API! This is intended for https://localhost:8443/ testing of development servers with self-signed certificates, only. If you do not understand what this is, do not use it. You WILL cause a security issue in your application due to the possibility of a "man in the middle" attack when this is enabled. -
build
-
getRetrofitBuilder
public retrofit2.Retrofit.Builder getRetrofitBuilder()Obtain the internal Retrofit Builder. This method is typically not required to be invoked for simple API usages, but can be a handy back door for non-trivial advanced customizations of the API client. -
getOkBuilder
public okhttp3.OkHttpClient.Builder getOkBuilder()Obtain the internal OkHttp Builder. This method is typically not required to be invoked for simple API usages, but can be a handy back door for non-trivial advanced customizations of the API client.
-