{"id":20844886,"url":"https://github.com/mzcretin/httpurlconnectionutildemo","last_synced_at":"2025-05-09T02:37:27.526Z","repository":{"id":82707046,"uuid":"85812604","full_name":"MZCretin/HttpUrlConnectionUtilDemo","owner":"MZCretin","description":"写小demo的时候，用Android成熟的网络框架有些大炮打蚊子，所以用最简单的方式写了一个网络工具类，注意，这个只是工具类...","archived":false,"fork":false,"pushed_at":"2017-03-23T01:25:06.000Z","size":110,"stargazers_count":33,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T21:30:33.452Z","etag":null,"topics":["httpurlconnection","utils"],"latest_commit_sha":null,"homepage":"http://blog.csdn.net/u010998327/article/details/65443615","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MZCretin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-22T10:04:34.000Z","updated_at":"2024-09-14T23:47:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8ce3ff8-305a-459a-9750-8533d0c03a9a","html_url":"https://github.com/MZCretin/HttpUrlConnectionUtilDemo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MZCretin%2FHttpUrlConnectionUtilDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MZCretin%2FHttpUrlConnectionUtilDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MZCretin%2FHttpUrlConnectionUtilDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MZCretin%2FHttpUrlConnectionUtilDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MZCretin","download_url":"https://codeload.github.com/MZCretin/HttpUrlConnectionUtilDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253178647,"owners_count":21866578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["httpurlconnection","utils"],"created_at":"2024-11-18T02:11:22.055Z","updated_at":"2025-05-09T02:37:27.515Z","avatar_url":"https://github.com/MZCretin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HttpUrlConnectionUtilDemo\n\n一个自己封装的用HttpUrlConnection请求的网络工具类，但只适合新手研究或者做些小demo用下，\n毕竟现在对于Android开发的网络框架有很多，而且很好很强大。\n\n目前支持的功能：\n\n1、GET，POST请求\n\n2、支持返回String，Byte[]数组，以及自定义的Model类\n\n3、请求的回调已处理过，现在的回调在UI线程，所以可以直接更新UI\n\n同样的，如果写demo啥的，可以按照以下方式依赖进项目：\n\n```\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\n\n```\n\tdependencies {\n\t        compile 'com.github.MZCretin:HttpUrlConnectionUtilDemo:v1.0'\n\t}\n\n```\n\n后面如果有需要，我会加上下载文件的方法。\n\n如果有啥问题，欢迎交流：\n\n792075058\n\nmxnzp_life@163.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzcretin%2Fhttpurlconnectionutildemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmzcretin%2Fhttpurlconnectionutildemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzcretin%2Fhttpurlconnectionutildemo/lists"}