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
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 org.apache.pekko.http.javadsl.model.Multipart
Multipart.BodyPart, Multipart.ByteRanges, Multipart.FormData, Multipart.General, Multipart.Strict
Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.Multipart
Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.Strict
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,
Object> getParts()
Java APIIterable<? extends Multipart.BodyPart.Strict>
Java APIorg.apache.pekko.stream.scaladsl.Source<Multipart.BodyPart.Strict,
Object> parts()
The stream of body parts this content consists of.scala.collection.immutable.Seq<Multipart.BodyPart.Strict>
The parts of this content as a strict collection.toEntity()
Creates an entity from this multipart object using a random boundary.Creates an entity from this multipart object using the specified boundary.Creates an entity from this multipart object using the specified boundary and logger.Methods inherited from interface org.apache.pekko.http.scaladsl.model.Multipart
getMediaType, mediaType, toStrict, toStrict
-
Method Details
-
getParts
org.apache.pekko.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,Object> getParts()Java API -
getStrictParts
Iterable<? extends Multipart.BodyPart.Strict> getStrictParts()Java API- Specified by:
getStrictParts
in interfaceMultipart.Strict
-
parts
org.apache.pekko.stream.scaladsl.Source<Multipart.BodyPart.Strict,Object> parts()Description copied from interface:Multipart
The 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
Creates an entity from this multipart object using the specified boundary and logger. -
toEntity
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.
-