public class HttpClientUtils
extends java.lang.Object
| Constructor and Description |
|---|
HttpClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getEntityAsByteArrayAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) |
static java.lang.String |
getEntityAsStringAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) |
public static java.lang.String getEntityAsStringAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)
public static byte[] getEntityAsByteArrayAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)