Class Rest5Client.ContentCompressingEntity
java.lang.Object
org.apache.hc.core5.http.io.entity.HttpEntityWrapper
org.apache.hc.client5.http.entity.GzipCompressingEntity
co.elastic.clients.transport.rest5_client.low_level.Rest5Client.ContentCompressingEntity
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hc.core5.http.EntityDetails
,org.apache.hc.core5.http.HttpEntity
- Enclosing class:
- Rest5Client
public static class Rest5Client.ContentCompressingEntity
extends org.apache.hc.client5.http.entity.GzipCompressingEntity
A gzip compressing entity that also implements
getContent()
.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hc.client5.http.entity.GzipCompressingEntity
getContentEncoding, getContentLength, isChunked, writeTo
Methods inherited from class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
close, getContentType, getTrailerNames, getTrailers, isRepeatable, isStreaming, toString
-
Constructor Details
-
ContentCompressingEntity
public ContentCompressingEntity(org.apache.hc.core5.http.HttpEntity entity)
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceorg.apache.hc.core5.http.HttpEntity
- Overrides:
getContent
in classorg.apache.hc.client5.http.entity.GzipCompressingEntity
- Throws:
IOException
-