implicit final class AcceptPatch extends AnyVal
Provides standardized access to Accept-Patch header.
- Alphabetic
- By Inheritance
- AcceptPatch
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AcceptPatch(response: HttpResponse)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
acceptPatch: Seq[MediaType]
Gets Accept-Patch header values.
Gets Accept-Patch header values.
- returns
header values or empty sequence if Accept-Patch is not present
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getAcceptPatch: Option[Seq[MediaType]]
Gets Accept-Patch header values if present.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
hasAcceptPatch: Boolean
Tests for Accept-Patch header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeAcceptPatch: HttpResponse
Creates new response removing Accept-Patch header.
-
def
setAcceptPatch(one: MediaType, more: MediaType*): HttpResponse
Creates new response setting Accept-Patch header to supplied values.
-
def
setAcceptPatch(values: Seq[MediaType]): HttpResponse
Creates new response setting Accept-Patch header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.