Package akka.http.javadsl.model
Class ContentRange
java.lang.Object
akka.http.javadsl.model.ContentRange
- Direct Known Subclasses:
ContentRange.Default
,ContentRange.Other
,ContentRange.Unsatisfiable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentRange
create
(long first, long last) static ContentRange
create
(long first, long last, long instanceLength) static ContentRange
create
(long first, long last, OptionalLong instanceLength) static ContentRange
createOther
(String value) static ContentRange
createUnsatisfiable
(long length) abstract OptionalLong
abstract OptionalLong
abstract OptionalLong
abstract boolean
abstract boolean
isOther()
abstract boolean
-
Constructor Details
-
ContentRange
public ContentRange()
-
-
Method Details
-
isByteContentRange
public abstract boolean isByteContentRange() -
isSatisfiable
public abstract boolean isSatisfiable() -
isOther
public abstract boolean isOther() -
getSatisfiableFirst
-
getSatisfiableLast
-
getOtherValue
-
getInstanceLength
-
create
-
create
-
create
-
createUnsatisfiable
-
createOther
-