ContentLocation

scamper.http.headers.ContentLocation
final class ContentLocation[T <: HttpMessage](message: T) extends AnyVal

Adds standardized access to Content-Location header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets Content-Location header value.

Gets Content-Location header value.

Attributes

Throws
HeaderNotFound

if Content-Location is not present

def contentLocationOption: Option[Uri]

Gets Content-Location header value if present.

Gets Content-Location header value if present.

Attributes

Creates new message with Content-Location header removed.

Creates new message with Content-Location header removed.

Attributes

def hasContentLocation: Boolean

Tests for Content-Location header.

Tests for Content-Location header.

Attributes

def setContentLocation(value: Uri): T

Creates new message with Content-Location header set to supplied value.

Creates new message with Content-Location header set to supplied value.

Attributes