1.首先获得url,传入URL类,利用URL的openconnection方法,获得URLConnection,去的输入流,进行操作,具体代码如下: public class NetConnection{ public NetConnection(final String url,final HttpMethod method,final SuccessCallback successCallback, final FailCallback failCallback,final String .