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.Strict
Multipart.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()
Multipart
public scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm)
Multipart
timeout
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 Multipart
getParts
in interface Multipart.General
public java.util.concurrent.CompletionStage<Multipart.General.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer)
toStrict
in interface Multipart
toStrict
in interface Multipart.General