You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-http-client-apache-v5/src/main/java/com/google/api/client/http/apache/v5/Apache5ResponseContent.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@
7
7
/**
8
8
* Class that wraps an {@link org.apache.hc.core5.http.HttpEntity}'s content {@link InputStream}
9
9
* along with the {@link ClassicHttpResponse} that contains this entity. The main purpose is to be
10
-
* able to close the response as well as the content input stream when {@link #close()} is called.
10
+
* able to close the response as well as the content input stream when {@link #close()} is called,
11
+
* in order to not break the existing contract with clients using apache v4 that only required them
12
+
* to close the input stream to clean up all resources.
0 commit comments