abstract class Factory
Creates Converter instances based on a type and target usage.
Factory()
Creates |
open static fun getParameterUpperBound(index: Int, type: ParameterizedType!): Type!
Extract the upper bound of the generic parameter at |
|
open static fun getRawType(type: Type!): Class<*>!
Extract the raw class type from |
|
open fun requestBodyConverter(type: Type!, parameterAnnotations: Array<Annotation!>!, methodAnnotations: Array<Annotation!>!, retrofit: Retrofit!): Converter<*, RequestBody!>?
Returns a |
|
open fun responseBodyConverter(type: Type!, annotations: Array<Annotation!>!, retrofit: Retrofit!): Converter<ResponseBody!, *>?
Returns a |
|
open fun stringConverter(type: Type!, annotations: Array<Annotation!>!, retrofit: Retrofit!): Converter<*, String!>?
Returns a |