Revision 5174
Added by daigle almost 15 years ago
src/edu/ucsb/nceas/metacat/replication/ReplicationService.java | ||
---|---|---|
1729 | 1729 |
public static String getURLContent(URL u) throws java.io.IOException { |
1730 | 1730 |
char istreamChar; |
1731 | 1731 |
int istreamInt; |
1732 |
logReplication.info("ReplicationService.getURLContent - Before open the stream" + u.toString());
|
|
1732 |
logReplication.debug("ReplicationService.getURLContent - Before open the stream" + u.toString());
|
|
1733 | 1733 |
InputStream input = u.openStream(); |
1734 |
logReplication.info("ReplicationService.getURLContent - After open the stream" + u.toString());
|
|
1734 |
logReplication.debug("ReplicationService.getURLContent - After open the stream" + u.toString());
|
|
1735 | 1735 |
InputStreamReader istream = new InputStreamReader(input); |
1736 | 1736 |
StringBuffer serverResponse = new StringBuffer(); |
1737 | 1737 |
while ((istreamInt = istream.read()) != -1) { |
Also available in: Unified diff
Log doc and rev query counts and times. Fix mis-spellings.