public static interface Multipart.Strict extends Multipart, Multipart.Strict
Multipart.BodyPart, Multipart.BodyPart$, Multipart.ByteRanges, Multipart.ByteRanges$, Multipart.FormData, Multipart.FormData$, Multipart.General, Multipart.General$, Multipart.Strict
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,java.lang.Object> |
getParts()
Java API
|
java.lang.Iterable<? extends Multipart.BodyPart.Strict> |
getStrictParts()
Java API
|
org.apache.pekko.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.Strict |
toEntity()
Creates an entity from this multipart object using a random boundary.
|
HttpEntity.Strict |
toEntity(java.lang.String boundary)
Creates an entity from this multipart object using the specified boundary.
|
HttpEntity.Strict |
toEntity(java.lang.String boundary,
org.apache.pekko.event.LoggingAdapter log)
Creates an entity from this multipart object using the specified boundary and logger.
|
getMediaType, mediaType, toStrict, toStrict
org.apache.pekko.stream.javadsl.Source<? extends Multipart.BodyPart.Strict,java.lang.Object> getParts()
getParts
in interface Multipart
getParts
in interface Multipart.Strict
java.lang.Iterable<? extends Multipart.BodyPart.Strict> getStrictParts()
getStrictParts
in interface Multipart.Strict
org.apache.pekko.stream.scaladsl.Source<Multipart.BodyPart.Strict,java.lang.Object> parts()
Multipart
scala.collection.immutable.Seq<Multipart.BodyPart.Strict> strictParts()
HttpEntity.Strict toEntity(java.lang.String boundary, org.apache.pekko.event.LoggingAdapter log)
boundary
- (undocumented)log
- (undocumented)HttpEntity.Strict toEntity(java.lang.String boundary)
toEntity
in interface Multipart
toEntity
in interface Multipart.Strict
boundary
- (undocumented)HttpEntity.Strict toEntity()
toEntity
in interface Multipart
toEntity
in interface Multipart.Strict