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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrofit2.CallAdapter<?,?> get(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit) Methods inherited from class retrofit2.CallAdapter.Factory
getParameterUpperBound, getRawType
-
Constructor Details
-
CallAdapterFactory
public CallAdapterFactory()
-
-
Method Details
-
get
@Nullable public retrofit2.CallAdapter<?,?> get(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit) - Specified by:
getin classretrofit2.CallAdapter.Factory
-