Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Extract InputStreamFactory classes out of GzipDecompressingEntity DeflateDecompressingEntity for reuse and to create less garbage through the use of singletons since the factories and stateless and immutable.
The new classes are:
- org.apache.hc.client5.http.entity.DeflateInputStreamFactory
- org.apache.hc.client5.http.entity.GZIPInputStreamFactory