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
StrictGeneralmultipart 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.MultipartmediaType()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.StringproductPrefix()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:MultipartThe 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.StrictThe parts of this content as a strict collection.- Specified by:
strictPartsin 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:MultipartThe stream of body parts this content consists of.- Specified by:
partsin interfaceMultipart- Specified by:
partsin interfaceMultipart.Strict- Specified by:
partsin 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: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.General- Parameters:
timeout- (undocumented)fm- (undocumented)- Returns:
- (undocumented)
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
getParts
public akka.stream.javadsl.Source<Multipart.General.BodyPart.Strict,java.lang.Object> getParts()
Java API- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart.General- Specified by:
getPartsin interfaceMultipart.General.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Overrides:
getPartsin classMultipart.General
-
getStrictParts
public java.lang.Iterable<Multipart.General.BodyPart.Strict> getStrictParts()
Java API- Specified by:
getStrictPartsin interfaceMultipart.General.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict
-
-