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 SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRangeByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRangeapply, fromOffset, getOffset, getSuffixLength, isFromOffset, isSuffix, suffixMethods inherited from class org.apache.pekko.http.javadsl.model.headers.ByteRangecreateFromOffset, createSlice, createSuffixMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderablevalue
- 
Constructor Details- 
Slicepublic Slice(long first, long last) 
 
- 
- 
Method Details- 
firstpublic long first()
- 
lastpublic long last()
- 
render- Specified by:
- renderin interface- Renderable
 
- 
isSlicepublic boolean isSlice()Java API
- 
getSliceFirstJava API- Overrides:
- getSliceFirstin class- ByteRange
 
- 
getSliceLastJava API- Overrides:
- getSliceLastin class- ByteRange
 
 
-