implicit final class AcceptRanges extends AnyVal
Provides standardized access to Accept-Ranges header.
- Alphabetic
- By Inheritance
- AcceptRanges
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AcceptRanges(response: HttpResponse)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
acceptRanges: Seq[String]
Gets Accept-Ranges header values.
Gets Accept-Ranges header values.
- returns
header values or empty sequence if Accept-Ranges is not present
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getAcceptRanges: Option[Seq[String]]
Gets Accept-Ranges header values if present.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
hasAcceptRanges: Boolean
Tests for Accept-Ranges header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeAcceptRanges: HttpResponse
Creates new response removing Accept-Ranges header.
-
def
setAcceptRanges(one: String, more: String*): HttpResponse
Creates new response setting Accept-Ranges header to supplied values.
-
def
setAcceptRanges(values: Seq[String]): HttpResponse
Creates new response setting Accept-Ranges header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.