Package akka.http.javadsl.model
Interface Multipart.FormData
-
- All Superinterfaces:
Multipart
- All Known Subinterfaces:
Multipart.FormData.Strict
- All Known Implementing Classes:
Multipart.FormData
,Multipart.FormData$.Strict
- Enclosing interface:
- Multipart
public static interface Multipart.FormData extends Multipart
Model for `multipart/form-data` content as defined in http://tools.ietf.org/html/rfc2388. All parts must have distinct names. (This is not verified!)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Multipart.FormData.BodyPart
static interface
Multipart.FormData.Strict
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart
Multipart.ByteRanges, Multipart.FormData, Multipart.General
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description akka.stream.javadsl.Source<? extends Multipart.FormData.BodyPart,java.lang.Object>
getParts()
java.util.concurrent.CompletionStage<Multipart.FormData.Strict>
toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Converts this content into its strict counterpart.-
Methods inherited from interface akka.http.javadsl.model.Multipart
getMediaType, toEntity, toEntity
-
-
-
-
Method Detail
-
getParts
akka.stream.javadsl.Source<? extends Multipart.FormData.BodyPart,java.lang.Object> getParts()
-
toStrict
java.util.concurrent.CompletionStage<Multipart.FormData.Strict> toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Description copied from interface:Multipart
Converts this content into its strict counterpart. The given `timeout` denotes the max time that an individual part must be read in. The CompletionStage is failed with an TimeoutException if one part isn't read completely after the given timeout.
-
-