| Package | Description |
|---|---|
| com.example.retrofit | |
| retrofit.converter.guava | |
| retrofit.converter.java8 | |
| retrofit2 |
Retrofit turns your REST API into a Java interface.
|
| retrofit2.adapter.guava | |
| retrofit2.adapter.java8 | |
| retrofit2.adapter.rxjava | |
| retrofit2.adapter.rxjava2 | |
| retrofit2.converter.gson | |
| retrofit2.converter.jackson | |
| retrofit2.converter.moshi | |
| retrofit2.converter.protobuf | |
| retrofit2.converter.scalars | |
| retrofit2.converter.simplexml | |
| retrofit2.converter.wire | |
| retrofit2.mock |
| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?,?> |
ErrorHandlingAdapter.ErrorHandlingCallAdapterFactory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<okhttp3.ResponseBody,?> |
GuavaOptionalConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<okhttp3.ResponseBody,?> |
Java8OptionalConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Retrofit |
Retrofit.Builder.build()
Create the
Retrofit instance using the configured values. |
| Modifier and Type | Method and Description |
|---|---|
abstract CallAdapter<?,?> |
CallAdapter.Factory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit)
Returns a call adapter for interface methods that return
returnType, or null if it
cannot be handled by this factory. |
Converter<?,okhttp3.RequestBody> |
Converter.Factory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit)
Returns a
Converter for converting type to an HTTP request body, or null if
type cannot be handled by this factory. |
Converter<okhttp3.ResponseBody,?> |
Converter.Factory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit)
Returns a
Converter for converting an HTTP response body to type, or null if
type cannot be handled by this factory. |
Converter<?,String> |
Converter.Factory.stringConverter(Type type,
Annotation[] annotations,
Retrofit retrofit)
|
| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?,?> |
GuavaCallAdapterFactory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?,?> |
Java8CallAdapterFactory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?,?> |
RxJavaCallAdapterFactory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?,?> |
RxJava2CallAdapterFactory.get(Type returnType,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
GsonConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
GsonConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
JacksonConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
JacksonConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
MoshiConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
MoshiConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
ProtoConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
ProtoConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
ScalarsConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
ScalarsConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
SimpleXmlConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
SimpleXmlConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Converter<?,okhttp3.RequestBody> |
WireConverterFactory.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit) |
Converter<okhttp3.ResponseBody,?> |
WireConverterFactory.responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
Retrofit |
MockRetrofit.retrofit() |
| Constructor and Description |
|---|
Builder(Retrofit retrofit) |
Copyright © 2017 Square, Inc.. All rights reserved.