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
,java.io.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, java.io.Serializable
StrictGeneral
multipart content.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object>
getParts()
Java APIjava.lang.Iterable<Multipart.General.BodyPart.Strict>
getStrictParts()
Java APIMediaType.Multipart
mediaType()
The media-type this multipart content carries.akka.stream.scaladsl.Source<akka.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<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict>
strictParts()
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 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
-
-
-
-
Constructor Detail
-
Strict
public Strict(MediaType.Multipart mediaType, scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> strictParts)
-
-
Method Detail
-
mediaType
public MediaType.Multipart 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,java.lang.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
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
getParts
public akka.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object> 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
public java.lang.Iterable<Multipart.General.BodyPart.Strict> getStrictParts()
Java API- Specified by:
getStrictParts
in interfaceMultipart.General.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
-
-