Class JSON.GsonCustomConverterFactory

java.lang.Object
retrofit2.Converter.Factory
org.apache.fineract.client.util.JSON.GsonCustomConverterFactory
Enclosing class:
JSON

public static final class JSON.GsonCustomConverterFactory extends retrofit2.Converter.Factory
  • Method Details

    • create

      public static JSON.GsonCustomConverterFactory create(com.google.gson.Gson gson)
    • responseBodyConverter

      public retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit)
      Overrides:
      responseBodyConverter in class retrofit2.Converter.Factory
    • requestBodyConverter

      public retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, retrofit2.Retrofit retrofit)
      Overrides:
      requestBodyConverter in class retrofit2.Converter.Factory