implicit final class IfRange extends AnyVal
Provides standardized access to If-Range header.
- Alphabetic
- By Inheritance
- IfRange
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IfRange(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 getIfRange: Option[Either[EntityTag, Instant]]
Gets If-Range header value if present.
- def hasIfRange: Boolean
Tests whether If-Range header is present.
- def ifRange: Either[EntityTag, Instant]
Gets If-Range header value.
Gets If-Range header value.
- Exceptions thrown
HeaderNotFound
if If-Range is not present
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeIfRange(): HttpRequest
Creates new request removing If-Range header.
- def toString(): String
- Definition Classes
- Any
- def withIfRange(value: Instant): HttpRequest
Creates new request setting If-Range header to supplied value.
- def withIfRange(value: EntityTag): HttpRequest
Creates new request setting If-Range header to supplied value.
- def withIfRange(value: Either[EntityTag, Instant]): HttpRequest
Creates new request setting If-Range header to supplied value.