Packages

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

Body part of the General model.

Source
Multipart.scala
Linear Supertypes
javadsl.model.Multipart.General.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 entity: BodyPartEntity

    The entity of the part.

    The entity of the part.

    Definition Classes
    BodyPart
  2. abstract def headers: Seq[HttpHeader]

    The headers the part carries.

    The headers the part carries.

    Definition Classes
    BodyPart
  3. abstract def toByteRangesBodyPart: Try[ByteRanges.BodyPart]
  4. abstract def toFormDataBodyPart: Try[FormData.BodyPart]

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 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
  3. 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
  4. def getContentDispositionHeader(): Optional[ContentDisposition]

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  9. def toStrict(timeoutMillis: Long, materializer: Materializer): CompletionStage[javadsl.model.Multipart.General.BodyPart.Strict]

    Java API

    Java API

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