Package akka.http.scaladsl.model
Class Multipart.FormData$.BodyPart
- java.lang.Object
-
- akka.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 java.lang.Object implements Multipart.BodyPart, Multipart.FormData.BodyPart
Body part of theMultipart.FormData
model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart.BodyPart
Multipart.BodyPart.Strict
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart.FormData.BodyPart
Multipart.FormData.BodyPart.Strict
-
-
Constructor Summary
Constructors Constructor Description BodyPart()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract scala.collection.immutable.Map<java.lang.String,java.lang.String>
additionalDispositionParams()
The Content-Disposition parameters, not including thename
parameter.abstract scala.collection.immutable.Seq<HttpHeader>
additionalHeaders()
Part headers, not including the Content-Disposition header.scala.Some<Content$minusDisposition>
contentDispositionHeader()
The potentially present {@linkContent-Disposition
} header.scala.collection.immutable.Map<java.lang.String,java.lang.String>
dispositionParams()
The parameters of the potentially present {@linkContent-Disposition
} header.scala.Some<ContentDispositionTypes.form$minusdata$>
dispositionType()
TheContentDispositionType
of the potentially present {@linkContent-Disposition
} header.scala.Option<java.lang.String>
filename()
The value of thefilename
Content-Disposition parameter, if available.java.util.Map<java.lang.String,java.lang.String>
getAdditionalDispositionParams()
Java APIjava.lang.Iterable<HttpHeader>
getAdditionalHeaders()
Java APIjava.util.Optional<java.lang.String>
getFilename()
Java APIjava.lang.String
getName()
Java APIscala.collection.immutable.Seq<HttpHeader>
headers()
The headers the part carries.abstract java.lang.String
name()
The name of this part.java.util.concurrent.CompletionStage<Multipart.FormData.BodyPart.Strict>
toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Java APIscala.concurrent.Future<akka.http.scaladsl.model.Multipart.FormData.BodyPart.Strict>
toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.model.Multipart.BodyPart
entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders
-
-
-
-
Method Detail
-
name
public abstract java.lang.String name()
The name of this part.- Returns:
- (undocumented)
-
additionalDispositionParams
public abstract scala.collection.immutable.Map<java.lang.String,java.lang.String> additionalDispositionParams()
The Content-Disposition parameters, not including thename
parameter.- Returns:
- (undocumented)
-
additionalHeaders
public abstract scala.collection.immutable.Seq<HttpHeader> additionalHeaders()
Part headers, not including the Content-Disposition header.- Returns:
- (undocumented)
-
headers
public scala.collection.immutable.Seq<HttpHeader> headers()
Description copied from interface:Multipart.BodyPart
The headers the part carries.- Specified by:
headers
in interfaceMultipart.BodyPart
- Returns:
- (undocumented)
-
contentDispositionHeader
public scala.Some<Content$minusDisposition> contentDispositionHeader()
Description copied from interface:Multipart.BodyPart
The potentially present {@linkContent-Disposition
} header.- Specified by:
contentDispositionHeader
in interfaceMultipart.BodyPart
- Returns:
- (undocumented)
-
dispositionParams
public scala.collection.immutable.Map<java.lang.String,java.lang.String> dispositionParams()
Description copied from interface:Multipart.BodyPart
The parameters of the potentially present {@linkContent-Disposition
} header. Returns an empty map if no such header is present.- Specified by:
dispositionParams
in interfaceMultipart.BodyPart
- Returns:
- (undocumented)
-
dispositionType
public scala.Some<ContentDispositionTypes.form$minusdata$> dispositionType()
Description copied from interface:Multipart.BodyPart
TheContentDispositionType
of the potentially present {@linkContent-Disposition
} header.- Specified by:
dispositionType
in interfaceMultipart.BodyPart
- Returns:
- (undocumented)
-
filename
public scala.Option<java.lang.String> filename()
The value of thefilename
Content-Disposition parameter, if available.- Returns:
- (undocumented)
-
toStrict
public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm)
- Specified by:
toStrict
in interfaceMultipart.BodyPart
-
getName
public java.lang.String getName()
Java API- Specified by:
getName
in interfaceMultipart.FormData.BodyPart
-
getAdditionalDispositionParams
public java.util.Map<java.lang.String,java.lang.String> getAdditionalDispositionParams()
Java API- Specified by:
getAdditionalDispositionParams
in interfaceMultipart.FormData.BodyPart
-
getAdditionalHeaders
public java.lang.Iterable<HttpHeader> getAdditionalHeaders()
Java API- Specified by:
getAdditionalHeaders
in interfaceMultipart.FormData.BodyPart
-
getFilename
public java.util.Optional<java.lang.String> getFilename()
Java API- Specified by:
getFilename
in interfaceMultipart.FormData.BodyPart
-
toStrict
public java.util.concurrent.CompletionStage<Multipart.FormData.BodyPart.Strict> toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Java API- Specified by:
toStrict
in interfaceMultipart.BodyPart
- Specified by:
toStrict
in interfaceMultipart.BodyPart
- Specified by:
toStrict
in interfaceMultipart.FormData.BodyPart
-
-