Package akka.http.javadsl.model
Interface Multipart.ByteRanges
- All Superinterfaces:
Multipart
- All Known Subinterfaces:
Multipart.ByteRanges.Strict
- All Known Implementing Classes:
Multipart.ByteRanges
,Multipart.ByteRanges$.Strict
- Enclosing interface:
- Multipart
Model for `multipart/byteranges` content as defined by
https://tools.ietf.org/html/rfc7233#section-5.4.1 and https://tools.ietf.org/html/rfc7233#appendix-A
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart
Multipart.ByteRanges, Multipart.FormData, Multipart.General
-
Method Summary
Modifier and TypeMethodDescriptionakka.stream.javadsl.Source<? extends Multipart.ByteRanges.BodyPart,
Object> getParts()
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 Details
-
getParts
akka.stream.javadsl.Source<? extends Multipart.ByteRanges.BodyPart,Object> getParts() -
toStrict
CompletionStage<Multipart.ByteRanges.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.
-