public abstract class CustomHeader extends CustomHeader
name and value.
Prefer to extend ModeledCustomHeader and ModeledCustomHeaderCompanion instead if
planning to use the defined header in match clauses (e.g. in the routing layer of Pekko HTTP),
as they allow the custom header to be matched from RawHeader and vice-versa.
HttpHeader.ParsingResult, HttpHeader.ParsingResult$| Constructor and Description |
|---|
CustomHeader() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
lowercaseName()
Returns the lower-cased name of the header.
|
<R extends Rendering> |
render(R r) |
name, valuefastFind, is, isNot, parse, unapply, unsafeToStringparse, renderInRequests, renderInResponsesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic java.lang.String lowercaseName()
HttpHeaderlowercaseName in class HttpHeader