Packages

sealed abstract class ChunkStreamPart extends javadsl.model.HttpEntity.ChunkStreamPart

An element of the HttpEntity data stream. Can be either a Chunk or a LastChunk.

Source
HttpEntity.scala
Linear Supertypes
javadsl.model.HttpEntity.ChunkStreamPart, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkStreamPart
  2. ChunkStreamPart
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def data(): ByteString

    Returns the byte data of this chunk.

    Returns the byte data of this chunk. Will be non-empty for every regular chunk. Will be empty for the last chunk.

    Definition Classes
    ChunkStreamPart → ChunkStreamPart
  2. abstract def extension(): String

    Returns extensions data for this chunk.

    Returns extensions data for this chunk.

    Definition Classes
    ChunkStreamPart → ChunkStreamPart
  3. abstract def getTrailerHeaders(): Iterable[javadsl.model.HttpHeader]

    If this is the last chunk, this will return an Iterable of the trailer headers.

    If this is the last chunk, this will return an Iterable of the trailer headers. Otherwise, it will be empty.

    Definition Classes
    ChunkStreamPart
  4. abstract def isLastChunk(): Boolean

    Returns if this is the last chunk

    Returns if this is the last chunk

    Definition Classes
    ChunkStreamPart → ChunkStreamPart