Package org.apache.hc.core5.http
Interface EntityDetails
- All Known Subinterfaces:
AsyncEntityProducer
,HttpEntity
- All Known Implementing Classes:
AbstractBinAsyncEntityProducer
,AbstractCharAsyncEntityProducer
,AbstractClassicEntityProducer
,AbstractHttpEntity
,AsyncEntityProducerWrapper
,BasicAsyncEntityProducer
,BasicEntityDetails
,BasicHttpEntity
,BufferedHttpEntity
,ByteArrayEntity
,ByteBufferEntity
,DigestingEntityProducer
,EntityTemplate
,FileEntity
,FileEntityProducer
,HttpEntityWrapper
,IncomingEntityDetails
,IncomingHttpEntity
,InputStreamEntity
,NullEntity
,PathEntity
,PathEntityProducer
,ReactiveEntityProducer
,SerializableEntity
,StringAsyncEntityProducer
,StringEntity
public interface EntityDetails
Details of an entity transmitted by a message.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns content encoding of the entity, if known.long
Returns length of the entity, if known.Returns content type of the entity, if known.Preliminary declaration of trailing headers.boolean
Returns chunked transfer hint for this entity.
-
Method Details
-
getContentLength
long getContentLength()Returns length of the entity, if known. -
getContentType
String getContentType()Returns content type of the entity, if known. -
getContentEncoding
String getContentEncoding()Returns content encoding of the entity, if known. -
isChunked
boolean isChunked()Returns chunked transfer hint for this entity.The behavior of wrapping entities is implementation dependent, but should respect the primary purpose.
-
getTrailerNames
Preliminary declaration of trailing headers.
-