Back to project page FrameLite.
The source code is released under:
GNU General Public License
If you think the Android project FrameLite listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.miku.framelite.httpx; /*from w ww . j a v a 2s. c o m*/ import java.util.List; import org.apache.http.NameValuePair; import com.miku.framelite.httpx.IDownloadHandler.DownloadCallback; public interface IHttpX { /** * get?? * @param url * @return ????null */ public String getRequest(String url); /** * get?? * @param url * @param params * @return ????null */ public String postRequest(String url, List<NameValuePair> params); /** * ??????????(??????UI Thread???) * @param url ?????? * @param target ???????"/sdcard/abc.apk" * @param isResume ???????????? * @param callback ???? * @return IDownloadHandler ???????? */ public IDownloadHandler download(String url,String target,boolean isResume,DownloadCallback callback); }