android模块
16lz
2021-01-23
网络模块
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 数据存储(数据库、文件、参数)操作实例
- android客户端通过Get方式提交参数给服务器,使用URL和HttpURLConn
- Android之SimpleAdapter简单实例和SimpleAdapter参数说明(zt)
- Activity 属性设置参数说明
- :Android核心模块及相关技术
- Android使用okhttp框架实现带参数Get和Post请求(附服务端完整代码