Packages

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

Body part of the FormData model.

Source
Multipart.scala
Linear Supertypes
javadsl.model.Multipart.FormData.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 additionalDispositionParams: Map[String, String]

    The Content-Disposition parameters, not including the name parameter.

  2. abstract def additionalHeaders: Seq[HttpHeader]

    Part headers, not including the Content-Disposition header.

  3. abstract def entity: BodyPartEntity

    The entity of the part.

    The entity of the part.

    Definition Classes
    BodyPart
  4. abstract def name: String

    The name of this part.

Concrete Value Members

  1. def contentDispositionHeader: Some[Content-Disposition]

    The potentially present `Content-Disposition` header.

    The potentially present `Content-Disposition` header.

    Definition Classes
    BodyPartBodyPart
  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
    BodyPartBodyPart
  3. def dispositionType: Some[form-data.type]

    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
    BodyPartBodyPart
  4. def filename: Option[String]

    The value of the filename Content-Disposition parameter, if available.

  5. def getAdditionalDispositionParams(): Map[String, String]

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

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

    Java API

    Java API

    Definition Classes
    BodyPart → BodyPart
  11. def getFilename(): Optional[String]

    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 getName(): String

    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.FormData.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