Class ContentRange.Default
java.lang.Object
org.apache.pekko.http.javadsl.model.ContentRange
org.apache.pekko.http.scaladsl.model.ContentRange.Default
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,ByteContentRange,ContentRange,scala.Equals,scala.Product
- Enclosing interface:
- ContentRange
public static final class ContentRange.Default
extends ContentRange
implements ByteContentRange, scala.Product, Serializable
Models a satisfiable HTTP content-range.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.ContentRange
ContentRange.Default, ContentRange.Default$, ContentRange.Other, ContentRange.Other$, ContentRange.Unsatisfiable, ContentRange.Unsatisfiable$ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.javadsl.model.ContentRange
create, create, create, createOther, createUnsatisfiable, getInstanceLength, getOtherValue, isByteContentRange, isOtherMethods 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.ByteContentRange
getInstanceLength, isByteContentRangeMethods inherited from interface org.apache.pekko.http.scaladsl.model.ContentRange
getOtherValue, isOtherMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderable
value
-
Constructor Details
-
Default
-
-
Method Details
-
first
public long first() -
last
public long last() -
instanceLength
- Specified by:
instanceLengthin interfaceByteContentRange
-
render
- Specified by:
renderin interfaceRenderable
-
isSatisfiable
public boolean isSatisfiable()Java API- Specified by:
isSatisfiablein interfaceContentRange- Specified by:
isSatisfiablein classContentRange
-
getSatisfiableFirst
Java API- Specified by:
getSatisfiableFirstin interfaceContentRange- Specified by:
getSatisfiableFirstin classContentRange
-
getSatisfiableLast
Java API- Specified by:
getSatisfiableLastin interfaceContentRange- Specified by:
getSatisfiableLastin classContentRange
-