Package akka.http.scaladsl.model
Interface Multipart.Strict
-
- All Superinterfaces:
Multipart,Multipart,Multipart.Strict
- All Known Implementing Classes:
Multipart.ByteRanges$.Strict,Multipart.FormData$.Strict,Multipart.General$.Strict
- Enclosing interface:
- Multipart
public static interface Multipart.Strict extends Multipart, Multipart.Strict
A type of multipart content for which all parts have already been loaded into memory and are therefore allow random access.
-
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description akka.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,java.lang.Object>getParts()Java APIjava.lang.Iterable<? extends Multipart.BodyPart.Strict>getStrictParts()Java APIakka.stream.scaladsl.Source<Multipart.BodyPart.Strict,java.lang.Object>parts()The stream of body parts this content consists of.scala.collection.immutable.Seq<Multipart.BodyPart.Strict>strictParts()The parts of this content as a strict collection.HttpEntity.StricttoEntity()Creates an entity from this multipart object using a random boundary.HttpEntity.StricttoEntity(java.lang.String boundary)Creates an entity from this multipart object using the specified boundary.HttpEntity.StricttoEntity(java.lang.String boundary, akka.event.LoggingAdapter log)Creates an entity from this multipart object using the specified boundary and logger.-
Methods inherited from interface akka.http.scaladsl.model.Multipart
getMediaType, mediaType, toStrict, toStrict
-
-
-
-
Method Detail
-
getParts
akka.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,java.lang.Object> getParts()
Java API
-
getStrictParts
java.lang.Iterable<? extends Multipart.BodyPart.Strict> getStrictParts()
Java API- Specified by:
getStrictPartsin interfaceMultipart.Strict
-
parts
akka.stream.scaladsl.Source<Multipart.BodyPart.Strict,java.lang.Object> parts()
Description copied from interface:MultipartThe stream of body parts this content consists of.
-
strictParts
scala.collection.immutable.Seq<Multipart.BodyPart.Strict> strictParts()
The parts of this content as a strict collection.- Returns:
- (undocumented)
-
toEntity
HttpEntity.Strict toEntity(java.lang.String boundary, akka.event.LoggingAdapter log)
Creates an entity from this multipart object using the specified boundary and logger.
-
toEntity
HttpEntity.Strict toEntity(java.lang.String boundary)
Creates an entity from this multipart object using the specified boundary.
-
toEntity
HttpEntity.Strict toEntity()
Creates an entity from this multipart object using a random boundary.
-
-