我查了关于HttpURLConnection的方法,里面并没有关于设置timeout的方法
然后我又查了关于http协议的rfc2068文档,现摘抄一段如下:
RFC 2068 HTTP/1.1 January 1997
10.4.9 408 Request Timeout
The client did not produce a request within the time that the server
was prepared to wait. The client MAY repeat the request without
modifications at any later time.