IfModifiedSince

final implicit class IfModifiedSince(request: HttpRequest) extends AnyVal

Provides standardized access to If-Modified-Since header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getIfModifiedSince: Option[Instant]

Gets If-Modified-Since header value if present.

Gets If-Modified-Since header value if present.

def hasIfModifiedSince: Boolean

Tests for If-Modified-Since header.

Tests for If-Modified-Since header.

def ifModifiedSince: Instant

Gets If-Modified-Since header value.

Gets If-Modified-Since header value.

Throws:
HeaderNotFound

if If-Modified-Since is not present

Creates new request with If-Modified-Since header removed.

Creates new request with If-Modified-Since header removed.

def setIfModifiedSince(value: Instant): HttpRequest

Creates new request with If-Modified-Since header set to supplied value.

Creates new request with If-Modified-Since header set to supplied value.