okhttp3

使用流程   异步同步请求核心方法 getReponseWithInterceptorChain() 执行流程 核心拦截器: RetryAndFollowUpInterceptor  职责:重试和对response进行下一步的处理 BridgeInterceptor 职责:对request加上各种header,得到response后如果gzip压缩了进行解压 CacheInterceptor 职责
相关文章
相关标签/搜索