Class HttpClientUtils
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.HttpClientUtils
-
public class HttpClientUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HttpClientUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
getEntityAsByteArrayAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)
static java.lang.String
getEntityAsStringAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)
-
-
-
Method Detail
-
getEntityAsStringAndCloseStream
public static java.lang.String getEntityAsStringAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)
-
getEntityAsByteArrayAndCloseStream
public static byte[] getEntityAsByteArrayAndCloseStream(org.apache.hc.core5.http.ClassicHttpResponse httpResponse)
-
-