public abstract static class Multipart.General extends java.lang.Object implements Multipart, Multipart.General
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 |
|---|
General() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pekko.stream.javadsl.Source<? extends Multipart.General.BodyPart,java.lang.Object> |
getParts()
Java API
|
abstract org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart,java.lang.Object> |
parts()
The stream of body parts this content consists of.
|
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.
|
java.util.concurrent.CompletionStage<Multipart.General.Strict> |
toStrict(long timeoutMillis,
org.apache.pekko.stream.Materializer materializer)
Java API
|
public abstract org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart,java.lang.Object> parts()
Multipartpublic 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.timeout - (undocumented)fm - (undocumented)public org.apache.pekko.stream.javadsl.Source<? extends Multipart.General.BodyPart,java.lang.Object> getParts()
getParts in interface MultipartgetParts in interface Multipart.Generalpublic java.util.concurrent.CompletionStage<Multipart.General.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer)
toStrict in interface MultiparttoStrict in interface Multipart.General