trait BodyPart extends javadsl.model.Multipart.BodyPart
The general model for a single part of a multipart message.
- Source
- Multipart.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BodyPart
- BodyPart
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
entity: BodyPartEntity
The entity of the part.
-
abstract
def
headers: Seq[HttpHeader]
The headers the part carries.
- abstract def toStrict(timeout: FiniteDuration)(implicit fm: Materializer): Future[BodyPart.Strict]
Concrete Value Members
-
def
contentDispositionHeader: Option[Content-Disposition]
The potentially present `Content-Disposition` header.
-
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.
-
def
dispositionType: Option[ContentDispositionType]
The akka.http.scaladsl.model.headers.ContentDispositionType of the potentially present `Content-Disposition` header.
-
def
getContentDispositionHeader(): Optional[ContentDisposition]
Java API
Java API
- Definition Classes
- BodyPart → BodyPart
-
def
getDispositionParams(): Map[String, String]
Java API
Java API
- Definition Classes
- BodyPart → BodyPart
-
def
getDispositionType(): Optional[ContentDispositionType]
Java API
Java API
- Definition Classes
- BodyPart → BodyPart
-
def
getEntity(): javadsl.model.BodyPartEntity
Java API
Java API
- Definition Classes
- BodyPart → BodyPart
-
def
getHeaders(): Iterable[javadsl.model.HttpHeader]
Java API
Java API
- Definition Classes
- BodyPart → BodyPart
-
def
toStrict(timeoutMillis: Long, materializer: Materializer): CompletionStage[_ <: javadsl.model.Multipart.BodyPart.Strict]
Java API
Java API
- Definition Classes
- BodyPart → BodyPart