IfModifiedSince

scamper.http.headers.IfModifiedSince
final class IfModifiedSince(request: HttpRequest) extends AnyVal

Adds standardized access to If-Modified-Since header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasIfModifiedSince: Boolean

Tests for If-Modified-Since header.

Tests for If-Modified-Since header.

Attributes

def ifModifiedSince: Instant

Gets If-Modified-Since header value.

Gets If-Modified-Since header value.

Attributes

Throws
HeaderNotFound

if If-Modified-Since is not present

def ifModifiedSinceOption: Option[Instant]

Gets If-Modified-Since header value if present.

Gets If-Modified-Since header value if present.

Attributes

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

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

Attributes

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.

Attributes