Transfer-Encoding

org.http4s.headers.Transfer-Encoding
See theTransfer-Encoding companion object

Attributes

Companion
object
Source
Transfer-Encoding.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Keep transfer codings matching the predicate.

Keep transfer codings matching the predicate. If no values remain, return none

scala> import org.http4s._
scala> val te = `Transfer-Encoding`(TransferCoding.chunked, TransferCoding.gzip)
scala> te.filter(_ != TransferCoding.chunked)
res0: Option[`Transfer-Encoding`] = Some(Transfer-Encoding(NonEmptyList(TransferCoding(gzip))))
scala> te.filter(_ => false)
res0: Option[`Transfer-Encoding`] = None

Attributes

Source
Transfer-Encoding.scala

Attributes

Source
Transfer-Encoding.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product