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:
Closeable,AutoCloseable,org.apache.hc.core5.http.EntityDetails,org.apache.hc.core5.http.HttpEntity
HttpEntityWrapper responsible for
handling br Content Coded responses.- Since:
- 5.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBrotliDecompressingEntity(org.apache.hc.core5.http.HttpEntity entity) Creates a newDecompressingEntity. -
Method Summary
Methods inherited from class org.apache.hc.client5.http.entity.DecompressingEntity
getContent, getContentEncoding, getContentLength, writeToMethods inherited from class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
close, getContentType, getTrailerNames, getTrailers, isChunked, isRepeatable, isStreaming, toString
-
Constructor Details
-
BrotliDecompressingEntity
public BrotliDecompressingEntity(org.apache.hc.core5.http.HttpEntity entity) Creates a newDecompressingEntity.- Parameters:
entity- factory to create decompressing stream.
-
-
Method Details
-
isAvailable
public static boolean isAvailable()
-