Commit c3b22239 authored by yanzg's avatar yanzg

修改实体位置

parent 1e6b5290
......@@ -166,6 +166,8 @@ public class HttpHelper {
int byteRead;
URL url = new URL(serverFileName);
URLConnection conn = url.openConnection();
conn.setConnectTimeout(HTTP_CONNNECT_TIMEOUT);
conn.setReadTimeout(HTTP_READ_TIMEOUT);
InputStream inStream = conn.getInputStream();
try {
ProcessData data = new ProcessData(serverFileName, conn.getContentLengthLong());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment