public static class Multipart.FormData$.Strict extends Multipart.FormData implements Multipart.Strict, Multipart.FormData.Strict, scala.Product, java.io.Serializable
FormData
.Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.Strict
Multipart.FormData.BodyPart, Multipart.FormData.Strict
Constructor and Description |
---|
Strict(scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts) |
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.stream.javadsl.Source<Multipart.FormData.BodyPart.Strict,java.lang.Object> |
getParts()
Java API
|
java.lang.Iterable<Multipart.FormData.BodyPart.Strict> |
getStrictParts()
Java API
|
org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.FormData.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.FormData.BodyPart.Strict> |
strictParts()
The parts of this content as a strict collection.
|
scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.FormData.Strict> |
toStrict(scala.concurrent.duration.FiniteDuration timeout,
org.apache.pekko.stream.Materializer fm)
Converts this content into its strict counterpart.
|
mediaType, toStrict
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toEntity, toEntity, toEntity
getMediaType, mediaType, toStrict
toStrict
public Strict(scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts)
public scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts()
Multipart.Strict
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict,java.lang.Object> parts()
Multipart
parts
in class Multipart.FormData
public scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.FormData.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.toStrict
in class Multipart.FormData
timeout
- (undocumented)fm
- (undocumented)public java.lang.String productPrefix()
productPrefix
in interface scala.Product
public org.apache.pekko.stream.javadsl.Source<Multipart.FormData.BodyPart.Strict,java.lang.Object> getParts()
getParts
in interface Multipart
getParts
in interface Multipart.FormData
getParts
in interface Multipart.FormData.Strict
getParts
in interface Multipart.Strict
getParts
in class Multipart.FormData
public java.lang.Iterable<Multipart.FormData.BodyPart.Strict> getStrictParts()
getStrictParts
in interface Multipart.FormData.Strict
getStrictParts
in interface Multipart.Strict