implicit final class From extends AnyVal
Provides standardized access to From header.
- Alphabetic
- By Inheritance
- From
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new From(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
from: String
Gets From header value.
Gets From header value.
- Exceptions thrown
HeaderNotFound
if From is not present
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getFrom: Option[String]
Gets From header value if present.
-
def
hasFrom: Boolean
Tests for From header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeFrom: HttpRequest
Creates new request removing From header.
-
def
setFrom(value: String): HttpRequest
Creates new request setting From header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.