implicit final class IfModifiedSince extends AnyVal
Provides standardized access to If-Modified-Since header.
- Alphabetic
- By Inheritance
- IfModifiedSince
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IfModifiedSince(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
getIfModifiedSince: Option[Instant]
Gets If-Modified-Since header value if present.
-
def
hasIfModifiedSince: Boolean
Tests for If-Modified-Since header.
-
def
ifModifiedSince: Instant
Gets If-Modified-Since header value.
Gets If-Modified-Since header value.
- Exceptions thrown
HeaderNotFound
if If-Modified-Since is not present
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeIfModifiedSince: HttpRequest
Creates new request removing If-Modified-Since header.
-
def
setIfModifiedSince(value: Instant): HttpRequest
Creates new request setting If-Modified-Since header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.