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.StringproductPrefix()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.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.ByteRanges.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.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: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.ByteRanges- 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.ByteRanges.BodyPart.Strict,java.lang.Object> getParts()
Java API- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart- Specified by:
getPartsin interfaceMultipart.ByteRanges- Specified by:
getPartsin interfaceMultipart.ByteRanges.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Specified by:
getPartsin interfaceMultipart.Strict- Overrides:
getPartsin classMultipart.ByteRanges
-
getStrictParts
public java.lang.Iterable<Multipart.ByteRanges.BodyPart.Strict> getStrictParts()
Java API- Specified by:
getStrictPartsin interfaceMultipart.ByteRanges.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict- Specified by:
getStrictPartsin interfaceMultipart.Strict
-
-