Class ModeledCustomHeaderCompanion<H extends ModeledCustomHeader<H>>


  • public abstract class ModeledCustomHeaderCompanion<H extends ModeledCustomHeader<H>>
    extends java.lang.Object
    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".
    • Constructor Detail

      • ModeledCustomHeaderCompanion

        public ModeledCustomHeaderCompanion()
    • Method Detail

      • apply

        public H apply​(java.lang.String value)
      • lowercaseName

        public java.lang.String lowercaseName()
      • name

        public abstract java.lang.String name()
      • parse

        public abstract scala.util.Try<H> parse​(java.lang.String value)
      • unapply

        public scala.Option<java.lang.String> unapply​(HttpHeader h)