@Override public void run() { try { responseAttachmentSupport.shutdown(); // Shut down new requests to the client request executor, // but don't mess with currently running tasks clientRequestExecutor.shutdown(); } finally { stopContext.complete(); } } };
@Override public void run() { try { responseAttachmentSupport.shutdown(); // Shut down new requests to the client request executor, // but don't mess with currently running tasks clientRequestExecutor.shutdown(); } finally { stopContext.complete(); } } };
@Override public void run() { try { responseAttachmentSupport.shutdown(); } finally { StreamUtils.safeClose(client); client = null; stopContext.complete(); } } };
@Override public void run() { try { responseAttachmentSupport.shutdown(); } finally { StreamUtils.safeClose(client); client = null; stopContext.complete(); } } };
@Override public void run() { try { StreamUtils.safeClose(connection); responseAttachmentSupport.shutdown(); } finally { context.complete(); } } };
@Override public void run() { try { StreamUtils.safeClose(connection); responseAttachmentSupport.shutdown(); } finally { context.complete(); } } };