public static class HttpEntity.LastChunk extends HttpEntity.ChunkStreamPart implements scala.Product, java.io.Serializable
LastChunk companion object.LAST| Constructor and Description |
|---|
LastChunk(java.lang.String extension,
scala.collection.immutable.Seq<HttpHeader> trailer) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pekko.util.ByteString |
data()
Returns the byte data of this chunk.
|
java.lang.String |
extension()
Returns extensions data for this chunk.
|
java.lang.Iterable<HttpHeader> |
getTrailerHeaders()
Java API
|
boolean |
isLastChunk()
Returns if this is the last chunk
|
scala.collection.immutable.Seq<HttpHeader> |
trailer() |
create, create, createLastclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic LastChunk(java.lang.String extension,
scala.collection.immutable.Seq<HttpHeader> trailer)
public java.lang.String extension()
HttpEntity.ChunkStreamPartextension in class HttpEntity.ChunkStreamPartpublic scala.collection.immutable.Seq<HttpHeader> trailer()
public org.apache.pekko.util.ByteString data()
HttpEntity.ChunkStreamPartdata in class HttpEntity.ChunkStreamPartpublic boolean isLastChunk()
HttpEntity.ChunkStreamPartisLastChunk in class HttpEntity.ChunkStreamPartpublic java.lang.Iterable<HttpHeader> getTrailerHeaders()
getTrailerHeaders in class HttpEntity.ChunkStreamPart