retrofit / retrofit2 / Retrofit / nextCallAdapter

nextCallAdapter

fun nextCallAdapter(@Nullable skipPast: CallAdapter.Factory?, returnType: Type!, annotations: Array<Annotation!>!): CallAdapter<*, *>!

Returns the CallAdapter for returnType from the available except skipPast.

Exceptions

IllegalArgumentException - if no call adapter available for type.