## Uses of Class
org.apache.hc.client5.http.impl.classic.CloseableHttpResponse

- Packages that use CloseableHttpResponse
  Package | Description
  --- | ---
  org.apache.hc.client5.http.impl.classic | Classic HTTP client API implementation that supports HTTP/1.1 transport only.

- - ### Uses of CloseableHttpResponse in org.apache.hc.client5.http.impl.classic

    Methods in org.apache.hc.client5.http.impl.classic that return CloseableHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected CloseableHttpResponse` | MinimalHttpClient.`doExecute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)`
    `protected abstract CloseableHttpResponse` | CloseableHttpClient.`doExecute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)`
    `CloseableHttpResponse` | CloseableHttpClient.`execute(org.apache.hc.core5.http.ClassicHttpRequest request)` Deprecated. It is strongly recommended to use execute methods with `HttpClientResponseHandler` such as `CloseableHttpClient.execute(ClassicHttpRequest, HttpClientResponseHandler)` in order to ensure automatic resource deallocation by the client. For special cases one can still use `HttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)` to keep the response object open after the request execution.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)` Deprecated. It is strongly recommended to use execute methods with `HttpClientResponseHandler` such as `CloseableHttpClient.execute(ClassicHttpRequest, HttpContext, HttpClientResponseHandler)` in order to ensure automatic resource deallocation by the client. For special cases one can still use `HttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)` to keep the response object open after the request execution.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request)` Deprecated. It is strongly recommended to use execute methods with `HttpClientResponseHandler` such as `CloseableHttpClient.execute(HttpHost, ClassicHttpRequest, HttpClientResponseHandler)` in order to ensure automatic resource deallocation by the client. For special cases one can still use `HttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)` to keep the response object open after the request execution.
    `CloseableHttpResponse` | CloseableHttpClient.`execute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)` Deprecated. It is strongly recommended to use execute methods with `HttpClientResponseHandler` such as `CloseableHttpClient.execute(HttpHost, ClassicHttpRequest, HttpContext, HttpClientResponseHandler)` in order to ensure automatic resource deallocation by the client. For special cases one can still use `HttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)` to keep the response object open after the request execution.

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.