} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (httpMethod != null)
httpMethod.releaseConnection();
connectionManager.closeIdleConnections(0);
}
}
private static void setAuth(HttpClient client, String url, String username, String pw)
throws MalformedURLException {