Transpiled version (1651L) is out of date.
1 | static new ThreadLocal<SS> readHttpPageLinewise_extraHeaders; |
2 | |
3 | static CloseableIterableIterator<S> readHttpPageLinewise(S url) ctex { |
4 | SS extraHeaders = getAndClearThreadLocal(readHttpPageLinewise_extraHeaders); |
5 | URLConnection con = openConnection(url); |
6 | for (S key : keys(extraHeaders)) |
7 | con.setRequestProperty(key, extraHeaders.get(key)); |
8 | ret linesFromReader(utf8BufferedReader(con.getInputStream())); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023547 |
Snippet name: | readHttpPageLinewise |
Eternal ID of this version: | #1023547/3 |
Text MD5: | fee9da6bdebcb69fc50e414fcffd2aef |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-28 00:31:47 |
Source code size: | 421 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 257 / 355 |
Version history: | 2 change(s) |
Referenced in: | [show references] |