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, unsafeToStringparse, renderInRequests, renderInResponsesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringrenderpublic abstract java.lang.String name()
HttpHeadername in class HttpHeaderpublic abstract java.lang.String value()
HttpHeadervalue in class HttpHeader