IfUnmodifiedSince

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

Adds standardized access to If-Unmodified-Since header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasIfUnmodifiedSince: Boolean

Tests for If-Unmodified-Since header.

Tests for If-Unmodified-Since header.

Attributes

def ifUnmodifiedSince: Instant

Gets If-Unmodified-Since header value.

Gets If-Unmodified-Since header value.

Attributes

Throws
HeaderNotFound

if If-Unmodified-Since is not present

def ifUnmodifiedSinceOption: Option[Instant]

Gets If-Unmodified-Since header value if present.

Gets If-Unmodified-Since header value if present.

Attributes

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

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

Attributes

def setIfUnmodifiedSince(value: Instant): HttpRequest

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

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

Attributes