Retrofit源码分析
来源:互联网 发布:软件测试整体策略 编辑:程序博客网 时间:2024/05/22 20:39
OkHttpCallServiceMethod serviceMethod = serviceMethod; Object[] args = args;ExecutorCallbackCall<T> implements Call<T>Executor callbackExecutor; Call<T> delegate;ParameterHandlerRelativeUrlServiceMethodthis.retrofit = retrofit;this.method = method;this.methodAnnotations = method.getAnnotations();this.parameterTypes = method.getGenericParameterTypes();this.parameterAnnotationsArray = method.getParameterAnnotations();CallAdapter<?> callAdapter = createCallAdapter();responseType = callAdapter.responseType();responseConverter = createResponseConverter()this.httpMethod = httpMethod; this.hasBody = hasBody;this.relativeUrl = value; this.relativeUrlParamNames = parsePathParameters(value);CallAdapterType responseType();<R> T adapt(Call<R> call)Retrofitboolean validateEagerly=falseHttpUrl baseUrlPlatform platform=Platform.get()List<Converter.Factory> converterFactories BuiltInConvertersGsonConverterFactory.create()ScalarsConverterFactory.create()List<CallAdapter.Factory> adapterFactoriesExecutorCallAdapterFactory(MainThreadExecutor)okhttp3.Call.Factory callFactory=OkHttpClientExecutor callbackExecutor=MainThreadExecutorExecutorCallAdapterFactoryExecutor callbackExecutorAndroidExecutor MainThreadExecutorCallAdapter.Factory
0 0
- Retrofit源码分析
- Retrofit源码分析
- Retrofit源码分析
- Retrofit源码简要分析
- Retrofit源码分析1
- Retrofit源码分析
- Retrofit 源码分析
- Retrofit源码分析
- Retrofit源码分析
- Retrofit 2.0源码分析
- Retrofit 源码分析
- Retrofit源码分析
- Retrofit的源码分析
- Retrofit 源码分析
- Retrofit 源码分析流程
- Retrofit源码分析
- Retrofit 源码简单分析
- Retrofit源码分析-前
- js提取导航栏高亮状态实例
- python中not,and,or的优先级问题及用法
- 用Jmeter测试RabbitMQ
- java中System.getProperty()的作用及使用
- html footer 固定
- Retrofit源码分析
- 网页前端常见的攻击方式和预防攻击的方法
- Ajax学习笔记
- ACM日记_17.3.14——高精度算法
- JS JAVA 判断是否微信浏览器
- VirtualBox虚拟硬盘文件管理
- 【tensorTensorFlow学习笔记】Mac+Linux虚拟机安装TensorFlow
- 与用户互动
- Delphi XE10让android的界面设计摆脱繁杂