interface CallAdapter<R : Any!, T : Any!>
Adapts a Call with response type R into the type of T. Instances are created by a factory which is into the Retrofit instance.
abstract class Factory
Creates |
abstract fun adapt(call: Call<R>!): T
Returns an instance of |
|
abstract fun responseType(): Type!
Returns the value type that this adapter uses when converting the HTTP response body to a Java object. For example, the response type for |