retrofit / retrofit2 / Retrofit / nextRequestBodyConverter

nextRequestBodyConverter

fun <T : Any!> nextRequestBodyConverter(@Nullable skipPast: Converter.Factory?, type: Type!, parameterAnnotations: Array<Annotation!>!, methodAnnotations: Array<Annotation!>!): Converter<T, RequestBody!>!

Returns a Converter for type to RequestBody from the available factories except skipPast.

Exceptions

IllegalArgumentException - if no converter available for type.