ok2c commented on pull request #303:
URL: 
https://github.com/apache/httpcomponents-client/pull/303#issuecomment-826066308


   @cdalexndr 
   ```
   public class DecoratedCloseableHttpClient extends CloseableHttpClient {
   
       private final CloseableHttpClient closeableHttpClient;
   
       public DecoratedCloseableHttpClient(CloseableHttpClient 
closeableHttpClient) {
           this.closeableHttpClient = closeableHttpClient;
       }
   
       @Override
       protected CloseableHttpResponse doExecute(HttpHost target, 
ClassicHttpRequest request, HttpContext context) throws IOException {
           return closeableHttpClient.execute(target, request, context);
       }
   
       @Override
       public void close(CloseMode closeMode) {
           closeableHttpClient.close(closeMode);
       }
   
       @Override
       public void close() throws IOException {
           closeableHttpClient.close();
       }
   }
   ```
   I still do not understand the problem.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to