Java 什么';使用HttpGet和DefaultHttpClient的默认超时是多少?
代码如下所示。如果我没有设置任何超时参数,“new DefaultHttpClient().execute(mConnection)”的默认超时是多少Java 什么';使用HttpGet和DefaultHttpClient的默认超时是多少?,java,android,Java,Android,代码如下所示。如果我没有设置任何超时参数,“new DefaultHttpClient().execute(mConnection)”的默认超时是多少 谢谢。默认连接超时时间约为60-70秒,具体取决于平台。默认读取超时为无穷大 mConnection = new HttpGet(mURL); mResponse = new DefaultHttpClient().execute(mConnection);
谢谢。默认连接超时时间约为60-70秒,具体取决于平台。默认读取超时为无穷大
mConnection = new HttpGet(mURL);
mResponse = new DefaultHttpClient().execute(mConnection);