Package akka.http.scaladsl.model
Class Multipart.ByteRanges$.Strict
- java.lang.Object
-
- akka.http.scaladsl.model.Multipart.ByteRanges
-
- akka.http.scaladsl.model.Multipart.ByteRanges$.Strict
-
- All Implemented Interfaces:
Multipart
,Multipart.ByteRanges
,Multipart.ByteRanges.Strict
,Multipart.Strict
,Multipart
,Multipart.Strict
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Multipart.ByteRanges$
public static class Multipart.ByteRanges$.Strict extends Multipart.ByteRanges implements Multipart.Strict, Multipart.ByteRanges.Strict, scala.Product, java.io.Serializable
StrictByteRanges
.- 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.ByteRanges
Multipart.ByteRanges.BodyPart, Multipart.ByteRanges.Strict
-
-
Constructor Summary
Constructors Constructor Description Strict(scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> strictParts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.javadsl.Source<Multipart.ByteRanges.BodyPart.Strict,java.lang.Object>
getParts()
Java APIjava.lang.Iterable<Multipart.ByteRanges.BodyPart.Strict>
getStrictParts()
Java APIakka.stream.scaladsl.Source<akka.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges.BodyPart.Strict>
strictParts()
The parts of this content as a strict collection.scala.concurrent.Future<akka.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges
mediaType, 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, mediaType, toStrict
-
Methods inherited from interface akka.http.javadsl.model.Multipart.ByteRanges
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
-
-
-
-
Method Detail
-
strictParts
public scala.collection.immutable.Seq<akka.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges.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.ByteRanges
- Returns:
- (undocumented)
-
toStrict
public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.ByteRanges.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.ByteRanges
- 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.ByteRanges.BodyPart.Strict,java.lang.Object> getParts()
Java API- Specified by:
getParts
in interfaceMultipart
- Specified by:
getParts
in interfaceMultipart
- Specified by:
getParts
in interfaceMultipart.ByteRanges
- Specified by:
getParts
in interfaceMultipart.ByteRanges.Strict
- Specified by:
getParts
in interfaceMultipart.Strict
- Specified by:
getParts
in interfaceMultipart.Strict
- Overrides:
getParts
in classMultipart.ByteRanges
-
getStrictParts
public java.lang.Iterable<Multipart.ByteRanges.BodyPart.Strict> getStrictParts()
Java API- Specified by:
getStrictParts
in interfaceMultipart.ByteRanges.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
- Specified by:
getStrictParts
in interfaceMultipart.Strict
-
-