implicit final class LastModified extends AnyVal
Provides standardized access to Last-Modified header.
- Alphabetic
- By Inheritance
- LastModified
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LastModified(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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getLastModified: Option[Instant]
Gets Last-Modified header value if present.
-
def
hasLastModified: Boolean
Tests for Last-Modified header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastModified: Instant
Gets Last-Modified header value.
Gets Last-Modified header value.
- Exceptions thrown
HeaderNotFound
if Last-Modified is not present
-
def
removeLastModified: HttpResponse
Creates new response removing Last-Modified header.
-
def
setLastModified(value: Instant): HttpResponse
Creates new response setting Last-Modified header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.