Skip to content

cs-robert/simpleokhttp

Repository files navigation

simpleokhttp

工程结构说明

###okhttputil库对okhttp3做了基本封装

  • HTTPSTrustManager.java封装了https认证
  • LoggingInterceptor.java是okhttp拦截器,可以设置通用header,打印log
  • Okhttp3CookieManager.java、Okhttp3PersistentCookieStore.java、Okhttp3SerializableHttpCookie.java这三个类封装了okhttp3的cookie处理

###retrofitutil库对retrofit做了基本封装


###App是简单的Demo应用


About

Okhttp封装,实现cookie本地存储

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages