implicit final class IfMatch extends AnyVal
Provides standardized access to If-Match header.
- Alphabetic
- By Inheritance
- IfMatch
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IfMatch(request: HttpRequest)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getIfMatch: Option[Seq[EntityTag]]
Gets If-Match header values if present.
-
def
hasIfMatch: Boolean
Tests whether If-Match header is present.
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeIfMatch(): HttpRequest
Creates new request removing If-Match header.
- val request: HttpRequest
-
def
toString(): String
- Definition Classes
- Any
-
def
withIfMatch(values: EntityTag*): HttpRequest
Creates new request setting If-Match header to supplied values.