Range

sttp.model.headers.Range
See theRange companion object
case class Range(start: Option[Long], end: Option[Long], unit: String)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isValid(contentSize: Long): Boolean
def toContentRange(fileSize: Long, unit: String): ContentRange
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val contentLength: Long