Class CallAdapterFactory

java.lang.Object
retrofit2.CallAdapter.Factory
dev.voidframework.restclient.retrofit.CallAdapterFactory

public final class CallAdapterFactory extends retrofit2.CallAdapter.Factory
Creates CallAdapter instances based on the return type of the service interface methods.
Since:
1.9.0
  • Constructor Details

    • CallAdapterFactory

      public CallAdapterFactory()
  • Method Details

    • get

      @Nullable public retrofit2.CallAdapter<?,?> get(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit)
      Specified by:
      get in class retrofit2.CallAdapter.Factory