ContentEncoding

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

Adds standardized access to Content-Encoding header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets Content-Encoding header values.

Gets Content-Encoding header values.

Attributes

Returns

header values or empty sequence if Content-Encoding is not present

Gets Content-Encoding header values if present.

Gets Content-Encoding header values if present.

Attributes

Creates new message with Content-Encoding header removed.

Creates new message with Content-Encoding header removed.

Attributes

def hasContentEncoding: Boolean

Tests for Content-Encoding header.

Tests for Content-Encoding header.

Attributes

def setContentEncoding(values: Seq[ContentCoding]): T

Creates new message with Content-Encoding header set to supplied values.

Creates new message with Content-Encoding header set to supplied values.

Attributes

Creates new message with Content-Encoding header set to supplied values.

Creates new message with Content-Encoding header set to supplied values.

Attributes