Package akka.http.scaladsl.model
Class Multipart.General$.Strict
java.lang.Object
akka.http.scaladsl.model.Multipart.General
akka.http.scaladsl.model.Multipart.General$.Strict
- All Implemented Interfaces:
Multipart
,Multipart.General
,Multipart.General.Strict
,Multipart.Strict
,Multipart
,Multipart.Strict
,Serializable
,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 Summary
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart
Multipart.BodyPart, Multipart.ByteRanges, Multipart.FormData, Multipart.General, Multipart.Strict
Nested classes/interfaces inherited from interface akka.http.scaladsl.model.Multipart
Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.Strict
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart.General
Multipart.General.BodyPart, Multipart.General.Strict
-
Constructor Summary
ConstructorsConstructorDescriptionStrict
(MediaType.Multipart mediaType, scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts) -
Method Summary
Modifier and TypeMethodDescriptionakka.stream.javadsl.Source<Multipart.General.BodyPart.Strict,
Object> getParts()
Java APIJava APIThe media-type this multipart content carries.akka.stream.scaladsl.Source<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict,
Object> parts()
The stream of body parts this content consists of.scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict>
The parts of this content as a strict collection.scala.concurrent.Future<akka.http.scaladsl.model.Multipart.General.Strict>
toStrict
(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm) Converts this content into its strict counterpart.Methods inherited from class akka.http.scaladsl.model.Multipart.General
toStrict
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface akka.http.scaladsl.model.Multipart
getMediaType, toStrict
Methods inherited from interface akka.http.javadsl.model.Multipart.General
toStrict
Methods inherited from interface akka.http.javadsl.model.Multipart.Strict
toEntity, toEntity
Methods inherited from interface akka.http.scaladsl.model.Multipart.Strict
toEntity, toEntity, toEntity
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
Strict
public Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts)
-
-
Method Details
-
mediaType
Description copied from interface:Multipart
The media-type this multipart content carries. -
strictParts
public scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts()Description copied from interface:Multipart.Strict
The parts of this content as a strict collection.- Specified by:
strictParts
in interfaceMultipart.Strict
- Returns:
- (undocumented)
-
parts
public akka.stream.scaladsl.Source<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict,Object> parts()Description copied from interface:Multipart
The stream of body parts this content consists of.- Specified by:
parts
in interfaceMultipart
- Specified by:
parts
in interfaceMultipart.Strict
- Specified by:
parts
in classMultipart.General
- Returns:
- (undocumented)
-
toStrict
public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.General.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm) Description copied from interface:Multipart
Converts this content into its strict counterpart. The giventimeout
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.- Specified by:
toStrict
in interfaceMultipart
- Overrides:
toStrict
in classMultipart.General
- Parameters:
timeout
- (undocumented)fm
- (undocumented)- Returns:
- (undocumented)
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
getParts
Java API- Specified by:
getParts
in interfaceMultipart
- Specified by:
getParts
in interfaceMultipart
- Specified by:
getParts
in interfaceMultipart.General
- Specified by:
getParts
in interfaceMultipart.General.Strict
- Specified by:
getParts
in interfaceMultipart.Strict
- Specified by:
getParts
in interfaceMultipart.Strict
- Overrides:
getParts
in classMultipart.General
-
getStrictParts
Java API- Specified by:
getStrictParts
in interfaceMultipart.General.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
-