Interface Multipart.BodyPart
- All Superinterfaces:
- Multipart.BodyPart
- All Known Subinterfaces:
- Multipart.BodyPart$.Strict
- All Known Implementing Classes:
- Multipart.ByteRanges$.BodyPart,- Multipart.FormData$.BodyPart,- Multipart.General$.BodyPart
- Enclosing interface:
- Multipart
The general model for a single part of a multipart message.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.BodyPartMultipart.BodyPart.Strict
- 
Method SummaryModifier and TypeMethodDescriptionscala.Option<Content$minusDisposition>The potentially present {@link <code>Content-Disposition</code>} header.The parameters of the potentially present {@link <code>Content-Disposition</code>} header.scala.Option<ContentDispositionType>Thepekko.http.scaladsl.model.headers.ContentDispositionTypeof the potentially present {@link <code>Content-Disposition</code>} header.entity()The entity of the part.Java APIJava APIJava APIJava APIJava APIscala.collection.immutable.Seq<HttpHeader>headers()The headers the part carries.CompletionStage<? extends Multipart.BodyPart.Strict>toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java APIscala.concurrent.Future<Multipart.BodyPart.Strict>toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) 
- 
Method Details- 
entityBodyPartEntity entity()The entity of the part.- Returns:
- (undocumented)
 
- 
headersscala.collection.immutable.Seq<HttpHeader> headers()The headers the part carries.- Returns:
- (undocumented)
 
- 
contentDispositionHeaderscala.Option<Content$minusDisposition> contentDispositionHeader()The potentially present {@link <code>Content-Disposition</code>} header.- Returns:
- (undocumented)
 
- 
dispositionParamsThe parameters of the potentially present {@link <code>Content-Disposition</code>} header. Returns an empty map if no such header is present.- Returns:
- (undocumented)
 
- 
dispositionTypescala.Option<ContentDispositionType> dispositionType()Thepekko.http.scaladsl.model.headers.ContentDispositionTypeof the potentially present {@link <code>Content-Disposition</code>} header.- Returns:
- (undocumented)
 
- 
toStrictscala.concurrent.Future<Multipart.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) 
- 
getEntityBodyPartEntity getEntity()Java API- Specified by:
- getEntityin interface- Multipart.BodyPart
 
- 
getHeadersIterable<HttpHeader> getHeaders()Java API- Specified by:
- getHeadersin interface- Multipart.BodyPart
 
- 
getContentDispositionHeaderOptional<ContentDisposition> getContentDispositionHeader()Java API- Specified by:
- getContentDispositionHeaderin interface- Multipart.BodyPart
 
- 
getDispositionParamsJava API- Specified by:
- getDispositionParamsin interface- Multipart.BodyPart
 
- 
getDispositionTypeOptional<ContentDispositionType> getDispositionType()Java API- Specified by:
- getDispositionTypein interface- Multipart.BodyPart
 
- 
toStrictCompletionStage<? extends Multipart.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java API- Specified by:
- toStrictin interface- Multipart.BodyPart
 
 
-