Packages

sealed abstract class BodyPart extends Multipart.BodyPart with javadsl.model.Multipart.ByteRanges.BodyPart

Body part of the ByteRanges model.

Source
Multipart.scala
Linear Supertypes
javadsl.model.Multipart.ByteRanges.BodyPart, Multipart.BodyPart, javadsl.model.Multipart.BodyPart, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BodyPart
  2. BodyPart
  3. BodyPart
  4. BodyPart
  5. AnyRef
  6. 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 additionalHeaders: Seq[HttpHeader]

    Part headers, not including the Content-Range header.

  2. abstract def contentRange: ContentRange

    The ContentRange contained in this part.

  3. abstract def entity: BodyPartEntity

    The entity of the part.

    The entity of the part.

    Definition Classes
    BodyPart
  4. abstract def rangeUnit: RangeUnit

    The pekko.http.scaladsl.model.headers.RangeUnit for the contentRange.

Concrete Value Members

  1. def contentDispositionHeader: Option[Content-Disposition]

    The potentially present `Content-Disposition` header.

    The potentially present `Content-Disposition` header.

    Definition Classes
    BodyPart
  2. def contentRangeHeader: Content-Range

    The Content-Range header of this part.

  3. def dispositionParams: Map[String, String]

    The parameters of the potentially present `Content-Disposition` header.

    The parameters of the potentially present `Content-Disposition` header. Returns an empty map if no such header is present.

    Definition Classes
    BodyPart
  4. def dispositionType: Option[ContentDispositionType]

    The pekko.http.scaladsl.model.headers.ContentDispositionType of the potentially present `Content-Disposition` header.

    The pekko.http.scaladsl.model.headers.ContentDispositionType of the potentially present `Content-Disposition` header.

    Definition Classes
    BodyPart
  5. def getAdditionalHeaders(): Iterable[javadsl.model.HttpHeader]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  6. def getContentDispositionHeader(): Optional[ContentDisposition]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  7. def getContentRange(): javadsl.model.ContentRange

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  8. def getContentRangeHeader(): javadsl.model.headers.ContentRange

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  9. def getDispositionParams(): Map[String, String]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  10. def getDispositionType(): Optional[ContentDispositionType]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  11. def getEntity(): javadsl.model.BodyPartEntity

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  12. def getHeaders(): Iterable[javadsl.model.HttpHeader]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  13. def getRangeUnit(): RangeUnit

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  14. def headers: Seq[HttpHeader]

    The headers the part carries.

    The headers the part carries.

    Definition Classes
    BodyPartBodyPart
  15. def toStrict(timeoutMillis: Long, materializer: Materializer): CompletionStage[javadsl.model.Multipart.ByteRanges.BodyPart.Strict]

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart → BodyPart → BodyPart
  16. def toStrict(timeout: FiniteDuration)(implicit fm: Materializer): Future[BodyPart.Strict]
    Definition Classes
    BodyPartBodyPart