133134135136137138139140141142143
} finally { if (conn.isOpen()) { System.out.println("shutting down connection"); try { conn.shutdown(); } catch (Exception x) { System.out.println("problem during shutdown"); x.printStackTrace(System.out); } }
161162163164165166167168169170171
472473474475476477478479480481482
return wrappedConnection.getSocketTimeout(); } @Override public void shutdown() throws IOException { wrappedConnection.shutdown(); } @Override public HttpConnectionMetrics getMetrics() { return wrappedConnection.getMetrics();
121122123124125126127128129130131
} finally { if (conn.isOpen()) { System.out.println("shutting down connection"); try { conn.shutdown(); } catch (Exception ex) { System.out.println("problem during shutdown"); ex.printStackTrace(); } }
157158159160161162163164165166167
127128129130131132133134135136137
155156157158159160161162163164165