Package akka.http.scaladsl.model
Class ContentRange.Other
- java.lang.Object
-
- akka.http.javadsl.model.ContentRange
-
- akka.http.scaladsl.model.ContentRange.Other
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,ContentRange
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- ContentRange
public static final class ContentRange.Other extends ContentRange implements ContentRange, scala.Product, java.io.Serializable
Another-range-resp
.- See Also:
- Serialized Form
-
-
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 Constructor Description Other(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.OptionalLong
getInstanceLength()
Java APIjava.util.Optional<java.lang.String>
getOtherValue()
Java APIboolean
isByteContentRange()
Java API<R extends Rendering>
Renderingrender(R r)
java.lang.String
value()
-
Methods inherited from class akka.http.javadsl.model.ContentRange
create, create, create, createOther, createUnsatisfiable, getSatisfiableFirst, getSatisfiableLast, isOther, isSatisfiable
-
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.ContentRange
getSatisfiableFirst, getSatisfiableLast, isOther, isSatisfiable
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
value
public java.lang.String value()
- Specified by:
value
in interfaceValueRenderable
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
isByteContentRange
public boolean isByteContentRange()
Java API- Specified by:
isByteContentRange
in classContentRange
-
getInstanceLength
public java.util.OptionalLong getInstanceLength()
Java API- Specified by:
getInstanceLength
in classContentRange
-
getOtherValue
public java.util.Optional<java.lang.String> getOtherValue()
Java API- Specified by:
getOtherValue
in interfaceContentRange
- Specified by:
getOtherValue
in classContentRange
-
-