IfMatch

final implicit
class IfMatch(request: HttpRequest) extends AnyVal

Provides standardized access to If-Match header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getIfMatch: Option[Seq[EntityTag]]

Gets If-Match header values if present.

Gets If-Match header values if present.

def hasIfMatch: Boolean

Tests for If-Match header.

Tests for If-Match header.

def ifMatch: Seq[EntityTag]

Gets If-Match header values.

Gets If-Match header values.

Returns

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

Creates new request with If-Match header removed.

Creates new request with If-Match header removed.

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.

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

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