142143144145146147148149150151152
HttpURLConnection httpUrlConnect = (HttpURLConnection) tester.getConnection(); httpUrlConnect.connect(); work_value = httpUrlConnect.getHeaderField("Location"); ; } finally { tester.disconnect(); } } } return value;
194195196197198199200201202203204
} } finally { in.close(); } } finally { tester.disconnect(); } } catch(Exception e) { log.error( "ProxyWriter::rewrite():Failed to rewrite the file for: " + scriptUri, e);
218219220221222223224225226227228
} else { return PROXY_REWRITE_PREFIX + PROXIED_FILES_URI.substring(7) + fileName; } } finally { tester.disconnect(); } } catch(Exception e) { log.error("Failed to read the file at : " + filePath, e); return scriptUri;