Class Multipart.FormData$.BodyPart
java.lang.Object
org.apache.pekko.http.scaladsl.model.Multipart.FormData$.BodyPart
- All Implemented Interfaces:
- Multipart.BodyPart,- Multipart.FormData.BodyPart,- Multipart.BodyPart
- Enclosing class:
- Multipart.FormData$
public abstract static class Multipart.FormData$.BodyPart
extends Object
implements Multipart.BodyPart, Multipart.FormData.BodyPart
Body part of the 
Multipart.FormData model.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.BodyPartMultipart.BodyPart.StrictNested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.FormData.BodyPartMultipart.FormData.BodyPart.Strict
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe Content-Disposition parameters, not including thenameparameter.abstract scala.collection.immutable.Seq<HttpHeader>Part headers, not including the Content-Disposition header.scala.Some<Content$minusDisposition>The potentially present {@link <code>Content-Disposition</code>} header.The parameters of the potentially present {@link <code>Content-Disposition</code>} header.scala.Some<ContentDispositionTypes.form$minusdata$>Thepekko.http.scaladsl.model.headers.ContentDispositionTypeof the potentially present {@link <code>Content-Disposition</code>} header.scala.Option<String>filename()The value of thefilenameContent-Disposition parameter, if available.Java APIJava APIJava APIgetName()Java APIscala.collection.immutable.Seq<HttpHeader>headers()The headers the part carries.abstract Stringname()The name of this part.toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java APIscala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict>toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.model.Multipart.BodyPartentity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders
- 
Constructor Details- 
BodyPartpublic BodyPart()
 
- 
- 
Method Details- 
nameThe name of this part.- Returns:
- (undocumented)
 
- 
additionalDispositionParamsThe Content-Disposition parameters, not including thenameparameter.- Returns:
- (undocumented)
 
- 
additionalHeadersPart headers, not including the Content-Disposition header.- Returns:
- (undocumented)
 
- 
headersDescription copied from interface:Multipart.BodyPartThe headers the part carries.- Specified by:
- headersin interface- Multipart.BodyPart
- Returns:
- (undocumented)
 
- 
contentDispositionHeaderDescription copied from interface:Multipart.BodyPartThe potentially present {@link <code>Content-Disposition</code>} header.- Specified by:
- contentDispositionHeaderin interface- Multipart.BodyPart
- Returns:
- (undocumented)
 
- 
dispositionParamsDescription copied from interface:Multipart.BodyPartThe parameters of the potentially present {@link <code>Content-Disposition</code>} header. Returns an empty map if no such header is present.- Specified by:
- dispositionParamsin interface- Multipart.BodyPart
- Returns:
- (undocumented)
 
- 
dispositionTypeDescription copied from interface:Multipart.BodyPartThepekko.http.scaladsl.model.headers.ContentDispositionTypeof the potentially present {@link <code>Content-Disposition</code>} header.- Specified by:
- dispositionTypein interface- Multipart.BodyPart
- Returns:
- (undocumented)
 
- 
filenameThe value of thefilenameContent-Disposition parameter, if available.- Returns:
- (undocumented)
 
- 
toStrictpublic scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) - Specified by:
- toStrictin interface- Multipart.BodyPart
 
- 
getNameJava API- Specified by:
- getNamein interface- Multipart.FormData.BodyPart
 
- 
getAdditionalDispositionParamsJava API- Specified by:
- getAdditionalDispositionParamsin interface- Multipart.FormData.BodyPart
 
- 
getAdditionalHeadersJava API- Specified by:
- getAdditionalHeadersin interface- Multipart.FormData.BodyPart
 
- 
getFilenameJava API- Specified by:
- getFilenamein interface- Multipart.FormData.BodyPart
 
- 
toStrictpublic CompletionStage<Multipart.FormData.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java API- Specified by:
- toStrictin interface- Multipart.BodyPart
- Specified by:
- toStrictin interface- Multipart.BodyPart
- Specified by:
- toStrictin interface- Multipart.FormData.BodyPart
 
 
-