ByteContentRange

scamper.http.types.ByteContentRange
See theByteContentRange companion trait

Provides factory for ByteContentRange.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait ByteRangeResp

Byte range response

Byte range response

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Satisfied
class Unsatisfied
case class Satisfied(first: Long, last: Long, completeLength: Option[Long]) extends ByteRangeResp

Satisfied byte range response.

Satisfied byte range response.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Unsatisfied(completeLength: Long) extends ByteRangeResp

Unsatisfied byte range response.

Unsatisfied byte range response.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

Creates range from supplied response.

Creates range from supplied response.

Attributes

def parse(range: String): ByteContentRange

Parses formatted range.

Parses formatted range.

Attributes