public static class Multipart.ByteRanges$.Strict extends Multipart.ByteRanges implements Multipart.Strict, Multipart.ByteRanges.Strict, scala.Product, java.io.Serializable
Multipart.ByteRanges
.Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.Strict
Multipart.ByteRanges.BodyPart, Multipart.ByteRanges.Strict
Constructor and Description |
---|
Strict(scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> strictParts) |
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.stream.javadsl.Source<Multipart.ByteRanges.BodyPart.Strict,java.lang.Object> |
getParts()
Java API
|
java.lang.Iterable<Multipart.ByteRanges.BodyPart.Strict> |
getStrictParts()
Java API
|
org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges.BodyPart.Strict> |
strictParts()
The parts of this content as a strict collection.
|
scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges.BodyPart.Strict> strictParts)
public scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> strictParts()
Multipart.Strict
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict,java.lang.Object> parts()
Multipart
parts
in class Multipart.ByteRanges
public scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges
timeout
- (undocumented)fm
- (undocumented)public java.lang.String productPrefix()
productPrefix
in interface scala.Product
public org.apache.pekko.stream.javadsl.Source<Multipart.ByteRanges.BodyPart.Strict,java.lang.Object> getParts()
getParts
in interface Multipart
getParts
in interface Multipart.ByteRanges
getParts
in interface Multipart.ByteRanges.Strict
getParts
in interface Multipart.Strict
getParts
in class Multipart.ByteRanges
public java.lang.Iterable<Multipart.ByteRanges.BodyPart.Strict> getStrictParts()
getStrictParts
in interface Multipart.ByteRanges.Strict
getStrictParts
in interface Multipart.Strict