public class FastJsonConverterFactory
extends retrofit2.Converter.Factory
| 限定符和类型 | 方法和说明 |
|---|---|
static FastJsonConverterFactory |
create() |
static FastJsonConverterFactory |
create(com.alibaba.fastjson.serializer.SerializeConfig serializeConfig) |
retrofit2.Converter<?,okhttp3.RequestBody> |
requestBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.annotation.Annotation[] methodAnnotations,
retrofit2.Retrofit retrofit) |
retrofit2.Converter<okhttp3.ResponseBody,?> |
responseBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
retrofit2.Retrofit retrofit) |
public static FastJsonConverterFactory create()
public static FastJsonConverterFactory create(com.alibaba.fastjson.serializer.SerializeConfig serializeConfig)
public retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.annotation.Annotation[] methodAnnotations,
retrofit2.Retrofit retrofit)
requestBodyConverter 在类中 retrofit2.Converter.Factorypublic retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
retrofit2.Retrofit retrofit)
responseBodyConverter 在类中 retrofit2.Converter.Factory