public void abortConnection() throws IOException { if (managedConn != null) { try { managedConn.abortConnection(); } finally { managedConn = null; } } }
public boolean streamAbort(InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
public boolean streamAbort(InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
/** * Shuts down the connection. * This method is called from a {@code catch} block in * {@link #execute execute} during exception handling. */ private void abortConnection() { ManagedClientConnection mcc = managedConn; if (mcc != null) { // we got here as the result of an exception // no response will be returned, release the connection managedConn = null; try { mcc.abortConnection(); } catch (IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } // ensure the connection manager properly releases this connection try { mcc.releaseConnection(); } catch(IOException ignored) { this.log.debug("Error releasing connection", ignored); } } } // abortConnection
/** * Shuts down the connection. * This method is called from a <code>catch</code> block in * {@link #execute execute} during exception handling. */ private void abortConnection() { ManagedClientConnection mcc = managedConn; if (mcc != null) { // we got here as the result of an exception // no response will be returned, release the connection managedConn = null; try { mcc.abortConnection(); } catch (IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } // ensure the connection manager properly releases this connection try { mcc.releaseConnection(); } catch(IOException ignored) { this.log.debug("Error releasing connection", ignored); } } } // abortConnection
public boolean streamAbort(InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
public boolean streamAbort(InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
public boolean streamAbort(final InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
@Override public void abortConnection() throws IOException { if (managedConn != null) { try { managedConn.abortConnection(); } finally { managedConn = null; } } }
@Override public boolean streamAbort(final InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
public boolean streamAbort(InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
public void abortConnection() throws IOException { if (managedConn != null) { try { managedConn.abortConnection(); } finally { managedConn = null; } } }
public boolean streamAbort(InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
public boolean streamAbort(final InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
@Override public boolean streamAbort(final InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
public void abortConnection() throws IOException { if (managedConn != null) { try { managedConn.abortConnection(); } finally { managedConn = null; } } }
@Override public void abortConnection() throws IOException { if (managedConn != null) { try { managedConn.abortConnection(); } finally { managedConn = null; } } }
@Override public boolean streamAbort(final InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }
@Override public boolean streamAbort(final InputStream wrapped) throws IOException { managedConn.abortConnection(); return false; }
public boolean streamAbort(InputStream wrapped) throws IOException { if (managedConn != null) { managedConn.abortConnection(); } return false; }