implicit final class Pragma extends AnyVal
Provides standardized access to Pragma header.
- Alphabetic
- By Inheritance
- Pragma
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Pragma(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 getPragma: Option[Seq[PragmaDirective]]
Gets Pragma header values if present.
- def hasPragma: Boolean
Tests for Pragma header.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def pragma: Seq[PragmaDirective]
Gets Pragma header values.
Gets Pragma header values.
- returns
header values or empty sequence if Pragma is not present
- def removePragma(): HttpRequest
Creates new request removing Pragma header.
- def toString(): String
- Definition Classes
- Any
- def withPragma(one: PragmaDirective, more: PragmaDirective*): HttpRequest
Creates new request setting Pragma header to supplied values.
- def withPragma(values: Seq[PragmaDirective]): HttpRequest
Creates new request setting Pragma header to supplied values.
Provided herein is API documentation for Scamper, the HTTP library for Scala.