Parent Directory | Revision Log | Patch
revision 2326 by torben, Wed Feb 18 21:30:17 2015 UTC | revision 2366 by torben, Tue Feb 24 12:22:26 2015 UTC | |
---|---|---|
# | Line 114 public class HttpUtil { | Line 114 public class HttpUtil { |
114 | URLConnection connection = url.openConnection(); | URLConnection connection = url.openConnection(); |
115 | ||
116 | connection.setConnectTimeout(timeout); | connection.setConnectTimeout(timeout); |
117 | connection.setReadTimeout(timeout); | |
118 | InputStream is = connection.getInputStream(); | InputStream is = connection.getInputStream(); |
119 | ||
120 | return readInputStream(is); | return readInputStream(is); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |