Package | Description |
---|---|
retrofit2 |
Retrofit turns your REST API into a Java interface.
|
Modifier and Type | Method and Description |
---|---|
<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)
|
<T> Converter<T,okhttp3.RequestBody> |
Retrofit.requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations)
|
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. |
<T> Converter<okhttp3.ResponseBody,T> |
Retrofit.responseBodyConverter(Type type,
Annotation[] annotations)
|
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. |
<T> Converter<T,String> |
Retrofit.stringConverter(Type type,
Annotation[] annotations)
|
Converter<?,String> |
Converter.Factory.stringConverter(Type type,
Annotation[] annotations,
Retrofit retrofit)
|
Copyright © 2020 Square, Inc.. All rights reserved.