328329330331332333334335336337338
} } catch (IOException e) { method.abort(); throw e; } finally { method.releaseConnection(); } try { Header redirectUrl = response.getFirstHeader("Location"); if (redirectUrl == null) {
353354355356357358359360361362363
} } catch (IOException e) { method.abort(); throw e; } finally { method.releaseConnection(); } } private String trimUrl(String connectionUrl) { if (connectionUrl.endsWith("/" )) {
484485486487488489490491492493494
} } return getClient(authenticate).execute(httpMethod); } finally { if (httpMethod != null) { httpMethod.releaseConnection(); } } }