public final class WireConverterFactory extends Converter.Factory
This converter only applies for types which extend from Message.
| Modifier and Type | Method and Description |
|---|---|
static WireConverterFactory |
create() |
Converter<?,okhttp3.RequestBody> |
requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
getParameterUpperBound, getRawType, stringConverterpublic static WireConverterFactory create()
public Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit)
responseBodyConverter in class Converter.Factorypublic Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit)
requestBodyConverter in class Converter.FactoryCopyright © 2018 Square, Inc.. All rights reserved.