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
CloseableClientResponsereworked 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 protectedCloseableHttpResponse(org.apache.http.client.methods.CloseableHttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringtoString()-
Methods inherited from class org.nuxeo.http.test.HttpResponse
getEntityInputStream, getEntityString, getFirstHeader, getLocation, getOptFirstHeader, getResponseStream, getStatus, getType
-
-