public abstract class CustomHeader extends HttpHeader
Implement ModeledCustomHeader
and ModeledCustomHeaderFactory
instead of CustomHeader
to be able to use the convenience methods that allow parsing the custom
user-defined header from HttpHeader
.
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
CustomHeader() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
name()
Returns the name of the header.
|
abstract java.lang.String |
value()
Returns the String representation of the value of the header.
|
fastFind, is, isNot, lowercaseName, parse, unapply, unsafeToString
parse, renderInRequests, renderInResponses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
render
public abstract java.lang.String name()
HttpHeader
name
in class HttpHeader
public abstract java.lang.String value()
HttpHeader
value
in class HttpHeader