public class Retrofit2ConverterFactory
extends retrofit2.Converter.Factory
| Constructor and Description |
|---|
Retrofit2ConverterFactory() |
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
getParserConfig() |
Feature[] |
getParserFeatures() |
int |
getParserFeatureValues() |
SerializeConfig |
getSerializeConfig() |
SerializerFeature[] |
getSerializerFeatures() |
retrofit2.Converter<?,okhttp3.RequestBody> |
requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
retrofit2.Retrofit retrofit) |
retrofit2.Converter<okhttp3.ResponseBody,?> |
responseBodyConverter(Type type,
Annotation[] annotations,
retrofit2.Retrofit retrofit) |
Retrofit2ConverterFactory |
setParserConfig(ParserConfig config) |
Retrofit2ConverterFactory |
setParserFeatures(Feature[] features) |
Retrofit2ConverterFactory |
setParserFeatureValues(int featureValues) |
Retrofit2ConverterFactory |
setSerializeConfig(SerializeConfig serializeConfig) |
Retrofit2ConverterFactory |
setSerializerFeatures(SerializerFeature[] features) |
public retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit)
responseBodyConverter in class retrofit2.Converter.Factorypublic retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, retrofit2.Retrofit retrofit)
requestBodyConverter in class retrofit2.Converter.Factorypublic ParserConfig getParserConfig()
public Retrofit2ConverterFactory setParserConfig(ParserConfig config)
public int getParserFeatureValues()
public Retrofit2ConverterFactory setParserFeatureValues(int featureValues)
public Feature[] getParserFeatures()
public Retrofit2ConverterFactory setParserFeatures(Feature[] features)
public SerializeConfig getSerializeConfig()
public Retrofit2ConverterFactory setSerializeConfig(SerializeConfig serializeConfig)
public SerializerFeature[] getSerializerFeatures()
public Retrofit2ConverterFactory setSerializerFeatures(SerializerFeature[] features)
Copyright © 2012–2017 Alibaba Group. All rights reserved.