Class Multipart.General$.Strict
java.lang.Object
org.apache.pekko.http.scaladsl.model.Multipart.General
org.apache.pekko.http.scaladsl.model.Multipart.General$.Strict
- All Implemented Interfaces:
- Serializable,- Multipart,- Multipart.General,- Multipart.General.Strict,- Multipart.Strict,- Multipart,- Multipart.Strict,- scala.Equals,- scala.Product
- Enclosing class:
- Multipart.General$
public static class Multipart.General$.Strict
extends Multipart.General
implements Multipart.Strict, Multipart.General.Strict, scala.Product, Serializable
Strict 
General multipart content.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.MultipartMultipart.BodyPart, Multipart.ByteRanges, Multipart.FormData, Multipart.General, Multipart.StrictNested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.MultipartMultipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.StrictNested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.GeneralMultipart.General.BodyPart, Multipart.General.Strict
- 
Constructor SummaryConstructorsConstructorDescriptionStrict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.pekko.stream.javadsl.Source<Multipart.General.BodyPart.Strict,Object> getParts()Java APIJava APIThe media-type this multipart content carries.org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict,Object> parts()The stream of body parts this content consists of.scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict>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.Methods inherited from class org.apache.pekko.http.scaladsl.model.Multipart.GeneraltoStrictMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface org.apache.pekko.http.scaladsl.model.MultipartgetMediaType, toStrictMethods inherited from interface org.apache.pekko.http.javadsl.model.Multipart.GeneraltoStrictMethods inherited from interface org.apache.pekko.http.javadsl.model.Multipart.StricttoEntity, toEntityMethods inherited from interface org.apache.pekko.http.scaladsl.model.Multipart.StricttoEntity, toEntity, toEntityMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator
- 
Constructor Details- 
Strictpublic Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts) 
 
- 
- 
Method Details- 
mediaTypeDescription copied from interface:MultipartThe media-type this multipart content carries.
- 
strictPartspublic scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts()Description copied from interface:Multipart.StrictThe parts of this content as a strict collection.- Specified by:
- strictPartsin interface- Multipart.Strict
- Returns:
- (undocumented)
 
- 
partspublic org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict,Object> parts()Description copied from interface:MultipartThe stream of body parts this content consists of.- Specified by:
- partsin interface- Multipart
- Specified by:
- partsin interface- Multipart.Strict
- Specified by:
- partsin class- Multipart.General
- Returns:
- (undocumented)
 
- 
toStrictpublic scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) Description copied from interface:MultipartConverts this content into its strict counterpart. The giventimeoutdenotes 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.- Specified by:
- toStrictin interface- Multipart
- Overrides:
- toStrictin class- Multipart.General
- Parameters:
- timeout- (undocumented)
- fm- (undocumented)
- Returns:
- (undocumented)
 
- 
productPrefix- Specified by:
- productPrefixin interface- scala.Product
 
- 
getPartsJava API- Specified by:
- getPartsin interface- Multipart
- Specified by:
- getPartsin interface- Multipart
- Specified by:
- getPartsin interface- Multipart.General
- Specified by:
- getPartsin interface- Multipart.General.Strict
- Specified by:
- getPartsin interface- Multipart.Strict
- Specified by:
- getPartsin interface- Multipart.Strict
- Overrides:
- getPartsin class- Multipart.General
 
- 
getStrictPartsJava API- Specified by:
- getStrictPartsin interface- Multipart.General.Strict
- Specified by:
- getStrictPartsin interface- Multipart.Strict
- Specified by:
- getStrictPartsin interface- Multipart.Strict
 
 
-