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 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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeIfMatch: HttpRequest
Creates new request removing If-Match header.
-
def
setIfMatch(one: EntityTag, more: EntityTag*): HttpRequest
Creates new request setting If-Match header to supplied values.
-
def
setIfMatch(values: Seq[EntityTag]): HttpRequest
Creates new request setting If-Match header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.