Packages

c

akka.http.scaladsl.model.headers

ModeledCustomHeaderCompanion

abstract class ModeledCustomHeaderCompanion[H <: ModeledCustomHeader[H]] extends AnyRef

To be extended by companion object of a custom header extending ModeledCustomHeader. Implements necessary apply and unapply methods to make the such defined header feel "native".

Source
headers.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModeledCustomHeaderCompanion
  2. AnyRef
  3. 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

Instance Constructors

  1. new ModeledCustomHeaderCompanion()

Abstract Value Members

  1. abstract def name: String
  2. abstract def parse(value: String): Try[H]

Concrete Value Members

  1. def apply(value: String): H
  2. implicit final val implicitlyLocatableCompanion: ModeledCustomHeaderCompanion[H]
  3. def lowercaseName: String
  4. def unapply(h: HttpHeader): Option[String]