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