Package akka.http.scaladsl.model
Class ContentRange.Default
java.lang.Object
akka.http.javadsl.model.ContentRange
akka.http.scaladsl.model.ContentRange.Default
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,ByteContentRange
,ContentRange
,Serializable
,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 akka.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 akka.http.javadsl.model.ContentRange
create, create, create, createOther, createUnsatisfiable, getInstanceLength, getOtherValue, isByteContentRange, isOther
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.ByteContentRange
getInstanceLength, isByteContentRange
Methods inherited from interface akka.http.scaladsl.model.ContentRange
getOtherValue, isOther
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
Constructor Details
-
Default
-
-
Method Details
-
first
public long first() -
last
public long last() -
instanceLength
- Specified by:
instanceLength
in interfaceByteContentRange
-
render
- Specified by:
render
in interfaceRenderable
-
isSatisfiable
public boolean isSatisfiable()Java API- Specified by:
isSatisfiable
in interfaceContentRange
- Specified by:
isSatisfiable
in classContentRange
-
getSatisfiableFirst
Java API- Specified by:
getSatisfiableFirst
in interfaceContentRange
- Specified by:
getSatisfiableFirst
in classContentRange
-
getSatisfiableLast
Java API- Specified by:
getSatisfiableLast
in interfaceContentRange
- Specified by:
getSatisfiableLast
in classContentRange
-