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.StrictNested 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 ContentRangeTheContentRangecontained in this part.TheContent-Rangeheader of this part.Java APIJava APIJava APIJava APIscala.collection.immutable.Seq<HttpHeader>headers()The headers the part carries.abstract RangeUnitThepekko.http.scaladsl.model.headers.RangeUnitfor 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, waitMethods 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
TheContentRangecontained in this part.- Returns:
- (undocumented)
-
rangeUnit
Thepekko.http.scaladsl.model.headers.RangeUnitfor thecontentRange.- Returns:
- (undocumented)
-
additionalHeaders
Part headers, not including the Content-Range header.- Returns:
- (undocumented)
-
contentRangeHeader
TheContent-Rangeheader of this part.- Returns:
- (undocumented)
-
headers
Description copied from interface:Multipart.BodyPartThe headers the part carries.- Specified by:
headersin 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:
toStrictin interfaceMultipart.BodyPart
-
getContentRange
Java API- Specified by:
getContentRangein interfaceMultipart.ByteRanges.BodyPart
-
getRangeUnit
Java API- Specified by:
getRangeUnitin interfaceMultipart.ByteRanges.BodyPart
-
getAdditionalHeaders
Java API- Specified by:
getAdditionalHeadersin interfaceMultipart.ByteRanges.BodyPart
-
getContentRangeHeader
Java API- Specified by:
getContentRangeHeaderin interfaceMultipart.ByteRanges.BodyPart
-
toStrict
public CompletionStage<Multipart.ByteRanges.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer) Java API- Specified by:
toStrictin interfaceMultipart.BodyPart- Specified by:
toStrictin interfaceMultipart.BodyPart- Specified by:
toStrictin interfaceMultipart.ByteRanges.BodyPart
-