Package akka.http.scaladsl.model
Class Multipart.ByteRanges$.BodyPart
- java.lang.Object
-
- akka.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 java.lang.Object implements Multipart.BodyPart, Multipart.ByteRanges.BodyPart
Body part of theMultipart.ByteRanges
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.ByteRanges.BodyPart
Multipart.ByteRanges.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.Seq<HttpHeader>
additionalHeaders()
Part headers, not including the Content-Range header.abstract ContentRange
contentRange()
TheContentRange
contained in this part.Content$minusRange
contentRangeHeader()
TheContent-Range
header of this part.java.lang.Iterable<HttpHeader>
getAdditionalHeaders()
Java APIContentRange
getContentRange()
Java APIContentRange
getContentRangeHeader()
Java APIRangeUnit
getRangeUnit()
Java APIscala.collection.immutable.Seq<HttpHeader>
headers()
The headers the part carries.abstract RangeUnit
rangeUnit()
TheRangeUnit
for thecontentRange
.java.util.concurrent.CompletionStage<Multipart.ByteRanges.BodyPart.Strict>
toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Java APIscala.concurrent.Future<akka.http.scaladsl.model.Multipart.ByteRanges.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
contentDispositionHeader, dispositionParams, dispositionType, entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders
-
-
-
-
Method Detail
-
contentRange
public abstract ContentRange contentRange()
TheContentRange
contained in this part.- Returns:
- (undocumented)
-
rangeUnit
public abstract RangeUnit rangeUnit()
TheRangeUnit
for thecontentRange
.- Returns:
- (undocumented)
-
additionalHeaders
public abstract scala.collection.immutable.Seq<HttpHeader> additionalHeaders()
Part headers, not including the Content-Range header.- Returns:
- (undocumented)
-
contentRangeHeader
public Content$minusRange contentRangeHeader()
TheContent-Range
header of this part.- 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)
-
toStrict
public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm)
- Specified by:
toStrict
in interfaceMultipart.BodyPart
-
getContentRange
public ContentRange getContentRange()
Java API- Specified by:
getContentRange
in interfaceMultipart.ByteRanges.BodyPart
-
getRangeUnit
public RangeUnit getRangeUnit()
Java API- Specified by:
getRangeUnit
in interfaceMultipart.ByteRanges.BodyPart
-
getAdditionalHeaders
public java.lang.Iterable<HttpHeader> getAdditionalHeaders()
Java API- Specified by:
getAdditionalHeaders
in interfaceMultipart.ByteRanges.BodyPart
-
getContentRangeHeader
public ContentRange getContentRangeHeader()
Java API- Specified by:
getContentRangeHeader
in interfaceMultipart.ByteRanges.BodyPart
-
toStrict
public java.util.concurrent.CompletionStage<Multipart.ByteRanges.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.ByteRanges.BodyPart
-
-