Top Description Methods
org.apache.hc.core5.http

public Interface EntityDetails

Known Direct Subinterfaces
org.apache.hc.core5.http.HttpEntity, org.apache.hc.core5.http.nio.AsyncEntityProducer
Known Direct Implementers
org.apache.hc.core5.http.impl.BasicEntityDetails, org.apache.hc.core5.http.impl.IncomingEntityDetails
Imports
java.util.Set

Details of an entity transmitted by a message.
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public String
getContentEncoding()

Returns content encoding of the entity, if known.

public long
getContentLength()

Returns length of the entity, if known.

public String
getContentType()

Returns content type of the entity, if known.

public Set<String>
getTrailerNames()

Preliminary declaration of trailing headers.

public boolean
isChunked()

Returns chunked transfer hint for this entity.

Method Detail

getContentEncodingback to summary
public String getContentEncoding()

Returns content encoding of the entity, if known.

getContentLengthback to summary
public long getContentLength()

Returns length of the entity, if known.

getContentTypeback to summary
public String getContentType()

Returns content type of the entity, if known.

getTrailerNamesback to summary
public Set<String> getTrailerNames()

Preliminary declaration of trailing headers.

isChunkedback to summary
public boolean isChunked()

Returns chunked transfer hint for this entity.

The behavior of wrapping entities is implementation dependent, but should respect the primary purpose.