public abstract class ModeledCustomHeaderCompanion<H extends ModeledCustomHeader<H>>
extends java.lang.Object
ModeledCustomHeader
.
Implements necessary apply and unapply methods to make the such defined header feel "native".Constructor and Description |
---|
ModeledCustomHeaderCompanion() |
Modifier and Type | Method and Description |
---|---|
H |
apply(java.lang.String value) |
ModeledCustomHeaderCompanion<H> |
implicitlyLocatableCompanion() |
java.lang.String |
lowercaseName() |
abstract java.lang.String |
name() |
abstract scala.util.Try<H> |
parse(java.lang.String value) |
scala.Option<java.lang.String> |
unapply(HttpHeader h) |
public H apply(java.lang.String value)
public final ModeledCustomHeaderCompanion<H> implicitlyLocatableCompanion()
public java.lang.String lowercaseName()
public abstract java.lang.String name()
public abstract scala.util.Try<H> parse(java.lang.String value)
public scala.Option<java.lang.String> unapply(HttpHeader h)