public class FastJsonConverterFactory
extends Converter.Factory
| 构造器和说明 |
|---|
FastJsonConverterFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static FastJsonConverterFactory |
create() |
<any> |
requestBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.annotation.Annotation[] methodAnnotations,
Retrofit retrofit)
需要重写父类中responseBodyConverter,该方法用来转换发送给服务器的数据
|
<any> |
responseBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
Retrofit retrofit)
需要重写父类中responseBodyConverter,该方法用来转换服务器返回数据
|
public static FastJsonConverterFactory create()
public <any> responseBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
Retrofit retrofit)
public <any> requestBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.annotation.Annotation[] methodAnnotations,
Retrofit retrofit)