implicit final class Range extends AnyVal
Provides standardized access to Range header.
- Alphabetic
- By Inheritance
- Range
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Range(request: HttpRequest)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getRange: Option[ByteRange]
Gets Range header value if present.
- def hasRange: Boolean
Tests for Range header.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def range: ByteRange
Gets Range header value.
Gets Range header value.
- Exceptions thrown
HeaderNotFound
if Range is not present
- def removeRange(): HttpRequest
Creates new request removing Range header.
- def toString(): String
- Definition Classes
- Any
- def withRange(value: ByteRange): HttpRequest
Creates new request setting Range header to supplied value.
Provided herein is API documentation for Scamper, the HTTP library for Scala.