Class Multipart.ByteRanges$.BodyPart
java.lang.Object
org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges$.BodyPart
- All Implemented Interfaces:
Multipart.BodyPart
,Multipart.ByteRanges.BodyPart
,Multipart.BodyPart
- Enclosing class:
- Multipart.ByteRanges$
public abstract static class Multipart.ByteRanges$.BodyPart
extends Object
implements Multipart.BodyPart, Multipart.ByteRanges.BodyPart
Body part of the
Multipart.ByteRanges
model.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.BodyPart
Multipart.BodyPart.Strict
Nested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.model.Multipart.ByteRanges.BodyPart
Multipart.ByteRanges.BodyPart.Strict
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract scala.collection.immutable.Seq<HttpHeader>
Part headers, not including the Content-Range header.abstract ContentRange
TheContentRange
contained in this part.TheContent-Range
header of this part.Java APIJava APIJava APIJava APIscala.collection.immutable.Seq<HttpHeader>
headers()
The headers the part carries.abstract RangeUnit
Thepekko.http.scaladsl.model.headers.RangeUnit
for thecontentRange
.toStrict
(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java APIscala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict>
toStrict
(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.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 org.apache.pekko.http.scaladsl.model.Multipart.BodyPart
contentDispositionHeader, dispositionParams, dispositionType, entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders
-
Constructor Details
-
BodyPart
public BodyPart()
-
-
Method Details
-
contentRange
TheContentRange
contained in this part.- Returns:
- (undocumented)
-
rangeUnit
Thepekko.http.scaladsl.model.headers.RangeUnit
for thecontentRange
.- Returns:
- (undocumented)
-
additionalHeaders
Part headers, not including the Content-Range header.- Returns:
- (undocumented)
-
contentRangeHeader
TheContent-Range
header of this part.- Returns:
- (undocumented)
-
headers
Description copied from interface:Multipart.BodyPart
The headers the part carries.- Specified by:
headers
in interfaceMultipart.BodyPart
- Returns:
- (undocumented)
-
toStrict
public scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm) - Specified by:
toStrict
in interfaceMultipart.BodyPart
-
getContentRange
Java API- Specified by:
getContentRange
in interfaceMultipart.ByteRanges.BodyPart
-
getRangeUnit
Java API- Specified by:
getRangeUnit
in interfaceMultipart.ByteRanges.BodyPart
-
getAdditionalHeaders
Java API- Specified by:
getAdditionalHeaders
in interfaceMultipart.ByteRanges.BodyPart
-
getContentRangeHeader
Java API- Specified by:
getContentRangeHeader
in interfaceMultipart.ByteRanges.BodyPart
-
toStrict
public CompletionStage<Multipart.ByteRanges.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java API- Specified by:
toStrict
in interfaceMultipart.BodyPart
- Specified by:
toStrict
in interfaceMultipart.BodyPart
- Specified by:
toStrict
in interfaceMultipart.ByteRanges.BodyPart
-