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 removing If-Modified-Since header.

Creates new request removing If-Modified-Since header.

def setIfModifiedSince(value: Instant): HttpRequest

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

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