implicit final class ContentEncoding[T <: HttpMessage] extends AnyVal
Provides standardized access to Content-Encoding header.
- Alphabetic
- By Inheritance
- ContentEncoding
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContentEncoding(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
contentEncoding: Seq[ContentCoding]
Gets Content-Encoding header values.
Gets Content-Encoding header values.
- returns
header values or empty sequence if Content-Encoding is not present
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getContentEncoding: Option[Seq[ContentCoding]]
Gets Content-Encoding header values if present.
-
def
hasContentEncoding: Boolean
Tests for Content-Encoding header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeContentEncoding(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message removing Content-Encoding header.
-
def
setContentEncoding(one: ContentCoding, more: ContentCoding*)(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Content-Encoding header to supplied values.
-
def
setContentEncoding(values: Seq[ContentCoding])(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Content-Encoding header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.