public final class RawHeader extends RawHeader implements scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
RawHeader(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
lowercaseName()
Returns the lower-cased name of the header.
|
java.lang.String |
name()
Returns the name of the header.
|
<R extends Rendering> |
render(R r) |
boolean |
renderInRequests()
Returns true if and only if the header is to be rendered in requests.
|
boolean |
renderInResponses()
Returns true if and only if the header is to be rendered in responses.
|
static <H extends HttpHeader> |
unapply(H customHeader) |
java.lang.String |
value()
Returns the String representation of the value of the header.
|
fastFind, is, isNot, parse, unsafeToString
parse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
toString
public static <H extends HttpHeader> scala.Option<scala.Tuple2<java.lang.String,java.lang.String>> unapply(H customHeader)
public java.lang.String name()
HttpHeader
public java.lang.String value()
HttpHeader
public boolean renderInRequests()
HttpHeader
renderInRequests
in class HttpHeader
public boolean renderInResponses()
HttpHeader
renderInResponses
in class HttpHeader
public java.lang.String lowercaseName()
HttpHeader
lowercaseName
in class HttpHeader
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable