public final class BodyCallAdapterFactory extends retrofit2.CallAdapter.Factory implements InternalCallAdapterFactory
Synchronous call, if the returned http status code is successful, return the responseBody object after deserialization. Otherwise, throw an exception! The exception information includes request and response related information.
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) static class |
BodyCallAdapterFactory.BodyCallAdapter<R> |
| 限定符和类型 | 字段和说明 |
|---|---|
static BodyCallAdapterFactory |
INSTANCE |
| 构造器和说明 |
|---|
BodyCallAdapterFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
retrofit2.CallAdapter<?,?> |
get(Type returnType,
Annotation[] annotations,
retrofit2.Retrofit retrofit) |
public static final BodyCallAdapterFactory INSTANCE
public retrofit2.CallAdapter<?,?> get(Type returnType, Annotation[] annotations, retrofit2.Retrofit retrofit)
get 在类中 retrofit2.CallAdapter.FactoryCopyright © 2024. All rights reserved.