| Package | Description |
|---|---|
| com.example.retrofit | |
| retrofit2 |
Retrofit turns your REST API into a Java interface.
|
| retrofit2.adapter.guava | |
| retrofit2.adapter.java8 | |
| retrofit2.adapter.rxjava | |
| retrofit2.adapter.rxjava2 |
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorHandlingAdapter.ErrorHandlingCallAdapterFactory |
| Modifier and Type | Method and Description |
|---|---|
List<CallAdapter.Factory> |
Retrofit.callAdapterFactories()
Returns a list of the factories tried when creating a
Retrofit.callAdapter(Type, Annotation[]) call adapter}.
|
| Modifier and Type | Method and Description |
|---|---|
Retrofit.Builder |
Retrofit.Builder.addCallAdapterFactory(CallAdapter.Factory factory)
Add a call adapter factory for supporting service method return types other than
Call. |
CallAdapter<?,?> |
Retrofit.nextCallAdapter(CallAdapter.Factory skipPast,
Type returnType,
Annotation[] annotations)
|
| Modifier and Type | Class and Description |
|---|---|
class |
GuavaCallAdapterFactory
A call adapter which creates Guava futures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Java8CallAdapterFactory
A call adapter which creates Java 8 futures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RxJavaCallAdapterFactory
A call adapter which uses RxJava for creating observables.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RxJava2CallAdapterFactory
A call adapter which uses RxJava 2 for creating observables.
|
Copyright © 2017 Square, Inc.. All rights reserved.