Package org.nuxeo.http.test
Class CloseableHttpResponse
- java.lang.Object
-
- org.nuxeo.http.test.HttpResponse
-
- org.nuxeo.http.test.CloseableHttpResponse
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class CloseableHttpResponse extends HttpResponse implements Closeable
- Since:
- 9.3
- See Also:
HttpResponse
- API Note:
- Former
CloseableClientResponse
reworked for 2023.13 to be library agnostic
-
-
Field Summary
-
Fields inherited from class org.nuxeo.http.test.HttpResponse
response, responseStream
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CloseableHttpResponse(org.apache.http.client.methods.CloseableHttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
toString()
-
Methods inherited from class org.nuxeo.http.test.HttpResponse
getEntityInputStream, getEntityString, getFirstHeader, getLocation, getOptFirstHeader, getResponseStream, getStatus, getType
-
-