Class BrotliDecompressingEntity
- java.lang.Object
-
- org.apache.hc.core5.http.io.entity.HttpEntityWrapper
-
- org.apache.hc.client5.http.entity.DecompressingEntity
-
- org.apache.hc.client5.http.entity.BrotliDecompressingEntity
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.hc.core5.http.EntityDetails
,org.apache.hc.core5.http.HttpEntity
public class BrotliDecompressingEntity extends DecompressingEntity
HttpEntityWrapper
responsible for handling br Content Coded responses.- Since:
- 5.2
- See Also:
GzipDecompressingEntity
-
-
Constructor Summary
Constructors Constructor Description BrotliDecompressingEntity(org.apache.hc.core5.http.HttpEntity entity)
Creates a newDecompressingEntity
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isAvailable()
-
Methods inherited from class org.apache.hc.client5.http.entity.DecompressingEntity
getContent, getContentEncoding, getContentLength, writeTo
-
-
-
-
Constructor Detail
-
BrotliDecompressingEntity
public BrotliDecompressingEntity(org.apache.hc.core5.http.HttpEntity entity)
Creates a newDecompressingEntity
.- Parameters:
entity
- factory to create decompressing stream.
-
-