| Package | Description |
|---|---|
| retrofit2 |
Retrofit turns your REST API into a Java interface.
|
| 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)
|
Copyright © 2019 Square, Inc.. All rights reserved.