Class Multipart.FormData$.Strict
java.lang.Object
org.apache.pekko.http.scaladsl.model.Multipart.FormData
org.apache.pekko.http.scaladsl.model.Multipart.FormData$.Strict
- All Implemented Interfaces:
Serializable,Multipart,Multipart.FormData,Multipart.FormData.Strict,Multipart.Strict,Multipart,Multipart.Strict,scala.Equals,scala.Product
- Enclosing class:
- Multipart.FormData$
public static class Multipart.FormData$.Strict
extends Multipart.FormData
implements Multipart.Strict, Multipart.FormData.Strict, scala.Product, Serializable
Strict
FormData.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart
Multipart.BodyPart, Multipart.ByteRanges, Multipart.FormData, Multipart.General, Multipart.StrictNested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.Multipart
Multipart.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.FormData
Multipart.FormData.BodyPart, Multipart.FormData.Strict -
Constructor Summary
ConstructorsConstructorDescriptionStrict(scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.javadsl.Source<Multipart.FormData.BodyPart.Strict,Object> getParts()Java APIJava APIorg.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict,Object> parts()The stream of body parts this content consists of.scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict>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.Methods inherited from class org.apache.pekko.http.scaladsl.model.Multipart.FormData
mediaType, toStrictMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface org.apache.pekko.http.scaladsl.model.Multipart
getMediaType, mediaType, toStrictMethods inherited from interface org.apache.pekko.http.javadsl.model.Multipart.FormData
toStrictMethods inherited from interface org.apache.pekko.http.javadsl.model.Multipart.Strict
toEntity, toEntityMethods inherited from interface org.apache.pekko.http.scaladsl.model.Multipart.Strict
toEntity, toEntity, toEntityMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
Strict
public Strict(scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts)
-
-
Method Details
-
strictParts
public scala.collection.immutable.Seq<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> strictParts()Description copied from interface:Multipart.StrictThe parts of this content as a strict collection.- Specified by:
strictPartsin interfaceMultipart.Strict- Returns:
- (undocumented)
-
parts
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict,Object> parts()Description copied from interface:MultipartThe stream of body parts this content consists of.- Specified by:
partsin interfaceMultipart- Specified by:
partsin interfaceMultipart.Strict- Specified by:
partsin classMultipart.FormData- Returns:
- (undocumented)
-
toStrict
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) 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 interfaceMultipart- Overrides:
toStrictin classMultipart.FormData- Parameters:
timeout- (undocumented)fm- (undocumented)- Returns:
- (undocumented)
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
getParts
Java API- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart.FormData- Specified by:
getPartsin interfaceMultipart.FormData.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Overrides:
getPartsin classMultipart.FormData
-
getStrictParts
Java API- Specified by:
getStrictPartsin interfaceMultipart.FormData.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict
-