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, value
fastFind, is, isNot, parse, unapply, unsafeToString
parse, renderInRequests, renderInResponses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public java.lang.String lowercaseName()
HttpHeader
lowercaseName
in class HttpHeader