implicit final class PreferenceApplied extends AnyVal
Provides standardized access to Preference-Applied header.
- Alphabetic
- By Inheritance
- PreferenceApplied
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PreferenceApplied(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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getPreferenceApplied: Option[Seq[Preference]]
Gets Preference-Applied header values if present.
-
def
hasPreferenceApplied: Boolean
Tests for Preference-Applied header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
preferenceApplied: Seq[Preference]
Gets Preference-Applied header values.
Gets Preference-Applied header values.
- returns
header values or empty sequence if Preference-Applied is not present
-
def
removePreferenceApplied: HttpResponse
Creates new response removing Preference-Applied header.
-
def
setPreferenceApplied(one: Preference, more: Preference*): HttpResponse
Creates new response setting Preference-Applied header to supplied values.
-
def
setPreferenceApplied(values: Seq[Preference]): HttpResponse
Creates new response setting Preference-Applied header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.