sealed abstract case class Content-Length extends Parsed with 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
.
t
- Source
- Content-Length.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Content-Length
- Serializable
- Serializable
- Parsed
- Header
- Product
- Equals
- Renderable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Content-Length to any2stringadd[Content-Length] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Content-Length, B)
- Implicit
- This member is added by an implicit conversion from Content-Length to ArrowAssoc[Content-Length] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (Content-Length) ⇒ Boolean, msg: ⇒ Any): Content-Length
- Implicit
- This member is added by an implicit conversion from Content-Length to Ensuring[Content-Length] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Content-Length) ⇒ Boolean): Content-Length
- Implicit
- This member is added by an implicit conversion from Content-Length to Ensuring[Content-Length] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Content-Length
- Implicit
- This member is added by an implicit conversion from Content-Length to Ensuring[Content-Length] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Content-Length
- Implicit
- This member is added by an implicit conversion from Content-Length to Ensuring[Content-Length] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(that: Any): Boolean
- Definition Classes
- Header → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Content-Length to StringFormat[Content-Length] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hashCode(): Int
- Definition Classes
- Header → AnyRef → Any
-
def
is(key: HeaderKey): Boolean
- Definition Classes
- Header
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNot(key: HeaderKey): Boolean
- Definition Classes
- Header
-
def
key: Content-Length.type
- Definition Classes
- Content-Length → Parsed
- val length: Long
- def modify(f: (Long) ⇒ Long): Option[Content-Length]
- def name: CaseInsensitiveString
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parsed: Content-Length.this.type
-
final
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- Header → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
-
def
renderValue(writer: Writer): writer.type
- Definition Classes
- Content-Length → Header
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toRaw: Raw
- Definition Classes
- Header
-
def
toString(): String
- Definition Classes
- Header → Renderable → AnyRef → Any
-
def
value: String
- Definition Classes
- Header
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (Content-Length, B)
- Implicit
- This member is added by an implicit conversion from Content-Length to ArrowAssoc[Content-Length] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc