Packages

final case class Suffix(length: Long) extends ByteRange with Product with Serializable

Used to specify the last length bytes of an entity. If the entity is shorter than the given length, then the range spans the entire entity.

Source
ByteRange.scala
Linear Supertypes
Serializable, Product, Equals, ByteRange, ValueRenderable, ToStringRenderable, Renderable, javadsl.model.headers.ByteRange, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Suffix
  2. Serializable
  3. Product
  4. Equals
  5. ByteRange
  6. ValueRenderable
  7. ToStringRenderable
  8. Renderable
  9. ByteRange
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Suffix(length: Long)

Value Members

  1. def getOffset(): OptionalLong

    Java API

    Java API

    Definition Classes
    ByteRangeByteRange
  2. def getSliceFirst(): OptionalLong

    Java API

    Java API

    Definition Classes
    ByteRangeByteRange
  3. def getSliceLast(): OptionalLong

    Java API

    Java API

    Definition Classes
    ByteRangeByteRange
  4. def getSuffixLength(): OptionalLong

    Java API

    Java API

    Definition Classes
    SuffixByteRangeByteRange
  5. def isFromOffset(): Boolean

    Java API

    Java API

    Definition Classes
    ByteRangeByteRange
  6. def isSlice(): Boolean

    Java API

    Java API

    Definition Classes
    ByteRangeByteRange
  7. def isSuffix(): Boolean

    Java API

    Java API

    Definition Classes
    SuffixByteRangeByteRange
  8. val length: Long
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. def render[R <: Rendering](r: R): r.type
    Definition Classes
    Suffix → Renderable
  11. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  12. def value: String
    Definition Classes
    ValueRenderable