Packages

final case class Content-Length extends ContentLength with RequestResponseHeader with Product with Serializable

Instances of this class will only be created transiently during header parsing and will never appear in HttpMessage.header. To access the Content-Length, see subclasses of HttpEntity.

Source
headers.scala
Linear Supertypes
Product, Equals, RequestResponseHeader, ResponseHeader, RequestHeader, ModeledHeader, Serializable, ContentLength, HttpHeader, ToStringRenderable, Renderable, javadsl.model.HttpHeader, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content-Length
  2. Product
  3. Equals
  4. RequestResponseHeader
  5. ResponseHeader
  6. RequestHeader
  7. ModeledHeader
  8. Serializable
  9. ContentLength
  10. HttpHeader
  11. ToStringRenderable
  12. Renderable
  13. HttpHeader
  14. AnyRef
  15. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def is(nameInLowerCase: String): Boolean

    Returns true if and only if nameInLowerCase.equals(lowercaseName()).

    Returns true if and only if nameInLowerCase.equals(lowercaseName()).

    Definition Classes
    HttpHeaderHttpHeader
  2. def isNot(nameInLowerCase: String): Boolean

    Returns !is(nameInLowerCase).

    Returns !is(nameInLowerCase).

    Definition Classes
    HttpHeaderHttpHeader
  3. val length: Long
    Definition Classes
    Content-LengthContentLength
  4. def lowercaseName(): String

    Returns the lower-cased name of the header.

    Returns the lower-cased name of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader
  5. def name(): String

    Returns the name of the header.

    Returns the name of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. final def render[R <: Rendering](r: R): r.type
    Definition Classes
    ModeledHeader → Renderable
  8. def renderInRequests(): Boolean

    Returns true if and only if the header is to be rendered in requests.

    Returns true if and only if the header is to be rendered in requests.

    Definition Classes
    RequestHeader → ModeledHeaderHttpHeader
  9. def renderInResponses(): Boolean

    Returns true if and only if the header is to be rendered in responses.

    Returns true if and only if the header is to be rendered in responses.

    Definition Classes
    ResponseHeader → ModeledHeaderHttpHeader
  10. def renderValue[R <: Rendering](r: R): r.type
    Definition Classes
    Content-LengthModeledHeader
  11. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  12. def unsafeToString: String
    Definition Classes
    HttpHeader
  13. def value(): String

    Returns the String representation of the value of the header.

    Returns the String representation of the value of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader