implicit final class ContentLocation[T <: HttpMessage] extends AnyVal
Provides standardized access to Content-Location header.
- Alphabetic
- By Inheritance
- ContentLocation
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContentLocation(message: T)
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
contentLocation: Uri
Gets Content-Location header value.
Gets Content-Location header value.
- Exceptions thrown
HeaderNotFound
if Content-Location is not present
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getContentLocation: Option[Uri]
Gets Content-Location header value if present.
-
def
hasContentLocation: Boolean
Tests for Content-Location header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeContentLocation(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message removing Content-Location header.
-
def
setContentLocation(value: Uri)(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Content-Location header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.