final case class Content-Length(length: Long) extends Product with Serializable

Constructs a Content-Length header.

The HTTP RFCs do not specify a maximum length. We have decided that Long.MaxValue bytes ought to be good enough for anybody in order to avoid the irritations of BigInt.

length

the length

Source
Content-Length.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content-Length
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Content-Length(length: Long)

    length

    the length

Value Members

  1. val length: Long
  2. def modify(f: (Long) ⇒ Long): Option[Content-Length]