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.Strict
Multipart.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.
|
toStrict
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toEntity, toEntity, toEntity
getMediaType, toStrict
toStrict
public Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts)
public MediaType.Multipart mediaType()
Multipart
public scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts()
Multipart.Strict
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict,java.lang.Object> parts()
Multipart
parts
in class Multipart.General
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.toStrict
in class Multipart.General
timeout
- (undocumented)fm
- (undocumented)public java.lang.String productPrefix()
productPrefix
in interface scala.Product
public org.apache.pekko.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object> getParts()
getParts
in interface Multipart
getParts
in interface Multipart.General
getParts
in interface Multipart.General.Strict
getParts
in interface Multipart.Strict
getParts
in class Multipart.General
public java.lang.Iterable<Multipart.General.BodyPart.Strict> getStrictParts()
getStrictParts
in interface Multipart.General.Strict
getStrictParts
in interface Multipart.Strict