程序包 gateway.api
类 BytesConverterFactory
java.lang.Object
retrofit2.Converter.Factory
gateway.api.BytesConverterFactory
public class BytesConverterFactory
extends retrofit2.Converter.Factory
二进制返回转换工厂
- 作者:
- neeker
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static retrofit2.Converter.Factorycreate()retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, retrofit2.Retrofit retrofit) retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit) 从类继承的方法 retrofit2.Converter.Factory
getParameterUpperBound, getRawType, stringConverter
-
字段详细资料
-
MEDIA_TYPE
private static final okhttp3.MediaType MEDIA_TYPE
-
-
构造器详细资料
-
BytesConverterFactory
public BytesConverterFactory()
-
-
方法详细资料
-
create
public static retrofit2.Converter.Factory create() -
responseBodyConverter
public retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, retrofit2.Retrofit retrofit) - 覆盖:
responseBodyConverter在类中retrofit2.Converter.Factory
-
requestBodyConverter
public retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, retrofit2.Retrofit retrofit) - 覆盖:
requestBodyConverter在类中retrofit2.Converter.Factory
-