public abstract static class Multipart.ByteRanges$.BodyPart extends java.lang.Object implements Multipart.BodyPart, Multipart.ByteRanges.BodyPart
Multipart.ByteRanges
model.Multipart.ByteRanges.BodyPart.Strict
Constructor and Description |
---|
BodyPart() |
Modifier and Type | Method and Description |
---|---|
abstract scala.collection.immutable.Seq<HttpHeader> |
additionalHeaders()
Part headers, not including the Content-Range header.
|
abstract ContentRange |
contentRange()
The
ContentRange contained in this part. |
Content$minusRange |
contentRangeHeader()
The
Content-Range header of this part. |
java.lang.Iterable<HttpHeader> |
getAdditionalHeaders()
Java API
|
ContentRange |
getContentRange()
Java API
|
ContentRange |
getContentRangeHeader()
Java API
|
RangeUnit |
getRangeUnit()
Java API
|
scala.collection.immutable.Seq<HttpHeader> |
headers()
The headers the part carries.
|
abstract RangeUnit |
rangeUnit()
The
pekko.http.scaladsl.model.headers.RangeUnit for the contentRange . |
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) |
java.util.concurrent.CompletionStage<Multipart.ByteRanges.BodyPart.Strict> |
toStrict(long timeoutMillis,
org.apache.pekko.stream.Materializer materializer)
Java API
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentDispositionHeader, dispositionParams, dispositionType, entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders
public abstract ContentRange contentRange()
ContentRange
contained in this part.public abstract RangeUnit rangeUnit()
pekko.http.scaladsl.model.headers.RangeUnit
for the contentRange
.public abstract scala.collection.immutable.Seq<HttpHeader> additionalHeaders()
public Content$minusRange contentRangeHeader()
Content-Range
header of this part.public scala.collection.immutable.Seq<HttpHeader> headers()
Multipart.BodyPart
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)
public ContentRange getContentRange()
getContentRange
in interface Multipart.ByteRanges.BodyPart
public RangeUnit getRangeUnit()
getRangeUnit
in interface Multipart.ByteRanges.BodyPart
public java.lang.Iterable<HttpHeader> getAdditionalHeaders()
getAdditionalHeaders
in interface Multipart.ByteRanges.BodyPart
public ContentRange getContentRangeHeader()
getContentRangeHeader
in interface Multipart.ByteRanges.BodyPart
public java.util.concurrent.CompletionStage<Multipart.ByteRanges.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer)
toStrict
in interface Multipart.BodyPart
toStrict
in interface Multipart.ByteRanges.BodyPart