| Package | Description |
|---|---|
| retrofit.converter.guava | |
| retrofit.converter.java8 | |
| retrofit2 |
Retrofit turns your REST API into a Java interface.
|
| retrofit2.converter.gson | |
| retrofit2.converter.jackson | |
| retrofit2.converter.moshi | |
| retrofit2.converter.protobuf | |
| retrofit2.converter.scalars | |
| retrofit2.converter.simplexml | |
| retrofit2.converter.wire |
| Modifier and Type | Class and Description |
|---|---|
class |
GuavaOptionalConverterFactory
A converter for
Optional<T> which delegates to another
converter to deserialize T and then wraps it into Optional. |
| Modifier and Type | Class and Description |
|---|---|
class |
Java8OptionalConverterFactory
A converter for
Optional<T> which delegates to another
converter to deserialize T and then wraps it into Optional. |
| Modifier and Type | Method and Description |
|---|---|
List<Converter.Factory> |
Retrofit.converterFactories()
Returns a list of the factories tried when creating a
request body converter, a
response body converter, or a
string converter.
|
| Modifier and Type | Method and Description |
|---|---|
Retrofit.Builder |
Retrofit.Builder.addConverterFactory(Converter.Factory factory)
Add converter factory for serialization and deserialization of objects.
|
<T> Converter<T,okhttp3.RequestBody> |
Retrofit.nextRequestBodyConverter(Converter.Factory skipPast,
Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations)
|
<T> Converter<okhttp3.ResponseBody,T> |
Retrofit.nextResponseBodyConverter(Converter.Factory skipPast,
Type type,
Annotation[] annotations)
|
| Modifier and Type | Class and Description |
|---|---|
class |
GsonConverterFactory
A converter which uses Gson for JSON.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonConverterFactory
A converter which uses Jackson.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MoshiConverterFactory
A converter which uses Moshi for JSON.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProtoConverterFactory
A converter which uses Protocol Buffers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScalarsConverterFactory
A converter for strings and both primitives and their boxed types
to
text/plain bodies. |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleXmlConverterFactory
A converter which uses Simple Framework for XML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WireConverterFactory
A converter that uses Wire for protocol buffers.
|
Copyright © 2017 Square, Inc.. All rights reserved.