public static class Multipart.General$.Strict extends Multipart.General implements Multipart.Strict, Multipart.General.Strict, scala.Product, java.io.Serializable
Multipart.General multipart content.Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.StrictMultipart.General.BodyPart, Multipart.General.Strict| Constructor and Description |
|---|
Strict(MediaType.Multipart mediaType,
scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pekko.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object> |
getParts()
Java API
|
java.lang.Iterable<Multipart.General.BodyPart.Strict> |
getStrictParts()
Java API
|
MediaType.Multipart |
mediaType()
The media-type this multipart content carries.
|
org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict,java.lang.Object> |
parts()
The stream of body parts this content consists of.
|
java.lang.String |
productPrefix() |
scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> |
strictParts()
The parts of this content as a strict collection.
|
scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.Strict> |
toStrict(scala.concurrent.duration.FiniteDuration timeout,
org.apache.pekko.stream.Materializer fm)
Converts this content into its strict counterpart.
|
toStrictclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoEntity, toEntity, toEntitygetMediaType, toStricttoStrictpublic Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts)
public MediaType.Multipart mediaType()
Multipartpublic scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts()
Multipart.Strictpublic org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict,java.lang.Object> parts()
Multipartparts in class Multipart.Generalpublic scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout,
org.apache.pekko.stream.Materializer fm)
Multiparttimeout denotes the max time that an individual part must be read in.
The Future is failed with an TimeoutException if one part isn't read completely after the given timeout.toStrict in class Multipart.Generaltimeout - (undocumented)fm - (undocumented)public java.lang.String productPrefix()
productPrefix in interface scala.Productpublic org.apache.pekko.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object> getParts()
getParts in interface MultipartgetParts in interface Multipart.GeneralgetParts in interface Multipart.General.StrictgetParts in interface Multipart.StrictgetParts in class Multipart.Generalpublic java.lang.Iterable<Multipart.General.BodyPart.Strict> getStrictParts()
getStrictParts in interface Multipart.General.StrictgetStrictParts in interface Multipart.Strict