public class HttpHeaderSpec.TestHeader extends java.lang.Object implements HttpHeaderSpec.TestExample
Constructor and Description |
---|
TestHeader(HttpHeader header) |
Modifier and Type | Method and Description |
---|---|
void |
apply(java.lang.String line) |
HttpHeader |
header() |
HttpHeaderSpec.TestHeader |
renderedTo(java.lang.String expectedRendering) |
java.lang.String |
rendering(java.lang.String line) |
HeaderParser.Settings |
settings() |
HttpHeaderSpec.TestHeader |
withCookieParsingMode(ParserSettings.CookieParsingMode mode) |
HttpHeaderSpec.TestHeader |
withParserSettings(HeaderParser.Settings newSettings) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString, UnliftOps
public TestHeader(HttpHeader header)
public void apply(java.lang.String line)
apply
in interface scala.Function1<java.lang.String,scala.runtime.BoxedUnit>
public HttpHeader header()
public HttpHeaderSpec.TestHeader renderedTo(java.lang.String expectedRendering)
public java.lang.String rendering(java.lang.String line)
public HeaderParser.Settings settings()
public HttpHeaderSpec.TestHeader withCookieParsingMode(ParserSettings.CookieParsingMode mode)
public HttpHeaderSpec.TestHeader withParserSettings(HeaderParser.Settings newSettings)