org.apache.hc.core5.http.io.HttpClientResponseHandler that returns
the response body as a String for successful (2xx) responses. If the response
code was >= 300, the response body is consumed
and an org.apache.hc.client5.http.HttpResponseException is thrown.
If this is used with
org.,
HttpClient may handle redirects (3xx responses) internally.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | handleEntity(final HttpEntity entity)
Implements abstract org. |
| public String | handleResponse(final ClassicHttpResponse
The response to process response)Overrides org. Implements org. |
| BasicHttpClientResponseHandler | back to summary |
|---|---|
| public BasicHttpClientResponseHandler() | |
| handleEntity | back to summary |
|---|---|
| public String handleEntity(final HttpEntity entity) throws IOException Implements abstract org. Returns the entity as a body as a String.
| |