@DoNotInherit public abstract class RawHeader extends HttpHeader
ModeledCustomHeader
and ModeledCustomHeaderFactory
rather
than extending RawHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
RawHeader() |
Modifier and Type | Method and Description |
---|---|
static RawHeader |
create(java.lang.String name,
java.lang.String value) |
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
public static RawHeader create(java.lang.String name, java.lang.String value)