@Internal public class IncomingEntityDetails extends Object implements EntityDetails
| Constructor and Description |
|---|
IncomingEntityDetails(MessageHeaders message) |
IncomingEntityDetails(MessageHeaders message,
long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentEncoding()
Returns content encoding of the entity, if known.
|
long |
getContentLength()
Returns length of the entity, if known.
|
String |
getContentType()
Returns content type of the entity, if known.
|
Set<String> |
getTrailerNames()
Preliminary declaration of trailing headers.
|
boolean |
isChunked()
Returns chunked transfer hint for this entity.
|
public IncomingEntityDetails(MessageHeaders message, long contentLength)
public IncomingEntityDetails(MessageHeaders message)
public long getContentLength()
EntityDetailsgetContentLength in interface EntityDetailspublic String getContentType()
EntityDetailsgetContentType in interface EntityDetailspublic String getContentEncoding()
EntityDetailsgetContentEncoding in interface EntityDetailspublic boolean isChunked()
EntityDetailsThe behavior of wrapping entities is implementation dependent, but should respect the primary purpose.
isChunked in interface EntityDetailspublic Set<String> getTrailerNames()
EntityDetailsgetTrailerNames in interface EntityDetailsCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.