Class ByteRange.Slice
java.lang.Object
org.apache.pekko.http.javadsl.model.headers.ByteRange
org.apache.pekko.http.scaladsl.model.headers.ByteRange
org.apache.pekko.http.scaladsl.model.headers.ByteRange.Slice
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,scala.Equals,scala.Product
- Enclosing class:
- ByteRange
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRange
ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRange
apply, fromOffset, getOffset, getSuffixLength, isFromOffset, isSuffix, suffixMethods inherited from class org.apache.pekko.http.javadsl.model.headers.ByteRange
createFromOffset, createSlice, createSuffixMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Slice
public Slice(long first, long last)
-
-
Method Details
-
first
public long first() -
last
public long last() -
render
- Specified by:
renderin interfaceRenderable
-
isSlice
public boolean isSlice()Java API -
getSliceFirst
Java API- Overrides:
getSliceFirstin classByteRange
-
getSliceLast
Java API- Overrides:
getSliceLastin classByteRange
-