IfMatch

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

Adds standardized access to If-Match header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasIfMatch: Boolean

Tests for If-Match header.

Tests for If-Match header.

Attributes

def ifMatch: Seq[EntityTag]

Gets If-Match header values.

Gets If-Match header values.

Attributes

Returns

header values or empty sequence if If-Match is not present

def ifMatchOption: Option[Seq[EntityTag]]

Gets If-Match header values if present.

Gets If-Match header values if present.

Attributes

Creates new request with If-Match header removed.

Creates new request with If-Match header removed.

Attributes

def setIfMatch(values: Seq[EntityTag]): HttpRequest

Creates new request with If-Match header set to supplied values.

Creates new request with If-Match header set to supplied values.

Attributes

Creates new request with If-Match header set to supplied values.

Creates new request with If-Match header set to supplied values.

Attributes