android模块
16lz
2022-05-28
网络模块
1、URL
--------openStream()
return InputStream
--------openConnection()
return URLConnection
2、URLConnection
--------getInputStream()用于获取URLConnection响应的内容
--------getOutputStream()用户向URLConnection发送请求参数
2、HttpURLConnection
--------getResponseCode()
--------getResponseMessage()
--------getRequestMethod()
--------setRequestMethod()
3、HttpClient
--------execute()
--------setParams()
--------setEntity()
--------getHeaders()
--------getAllHeaders()
4、Webservice
更多相关文章
- 兼容android Q存图片到相册
- Android向Http服务器发送Http请求异常-UnknowHostException
- Android(安卓)Http请求框架一:Get 和 Post 请求
- Android(安卓)VTS学习
- android Menu 菜单使用总结
- kotlin 开发 android 程序中网络http请求和线程的使用
- android http协议post请求方式
- Android(安卓)文件下载工具类
- 自定义android模块不编译的问题