public abstract class ModeledCustomHeader<H extends ModeledCustomHeader<H>> extends CustomHeader
name and value.
By implementing a ModeledCustomHeader instead of CustomHeader directly, all needed unapply
methods are provided for this class, such that it can be pattern matched on from RawHeader and
the other way around as well.HttpHeader.ParsingResult, HttpHeader.ParsingResult$| Constructor and Description |
|---|
ModeledCustomHeader() |
| Modifier and Type | Method and Description |
|---|---|
abstract ModeledCustomHeaderCompanion<H> |
companion() |
java.lang.String |
lowercaseName()
Returns the lower-cased name of the header.
|
java.lang.String |
name()
Returns the name of the header.
|
rendervaluefastFind, is, isNot, parse, unapply, unsafeToStringparse, renderInRequests, renderInResponsesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic abstract ModeledCustomHeaderCompanion<H> companion()
public final java.lang.String lowercaseName()
HttpHeaderlowercaseName in class CustomHeaderpublic final java.lang.String name()
HttpHeadername in class CustomHeader