public abstract class HttpHeaderParserSpec.TestSetup
extends java.lang.Object
Constructor and Description |
---|
TestSetup(HttpHeaderParserSpec.TestSetupMode testSetupMode,
ParserSettings parserSettings) |
Modifier and Type | Method and Description |
---|---|
void |
insert(java.lang.String line,
java.lang.Object value) |
char |
nextRandomAlphaNumChar() |
int |
nextRandomInt(int min,
int max) |
char |
nextRandomPrintableChar() |
java.lang.String |
nextRandomString(scala.Function0<java.lang.Object> charGen,
int len,
java.lang.StringBuilder sb) |
int |
parseAndCache(java.lang.String line,
HttpHeader header) |
HttpHeader |
parseAndCache(java.lang.String lineA,
java.lang.String lineB) |
scala.Tuple2<java.lang.Object,HttpHeader> |
parseLine(java.lang.String line) |
scala.Tuple2<java.lang.Object,HttpHeader> |
parseLineFromBytes(org.apache.pekko.util.ByteString bytes) |
HttpHeaderParser |
parser() |
public TestSetup(HttpHeaderParserSpec.TestSetupMode testSetupMode, ParserSettings parserSettings)
public HttpHeaderParser parser()
public void insert(java.lang.String line, java.lang.Object value)
public scala.Tuple2<java.lang.Object,HttpHeader> parseLineFromBytes(org.apache.pekko.util.ByteString bytes)
public scala.Tuple2<java.lang.Object,HttpHeader> parseLine(java.lang.String line)
public HttpHeader parseAndCache(java.lang.String lineA, java.lang.String lineB)
public int parseAndCache(java.lang.String line, HttpHeader header)
public char nextRandomPrintableChar()
public int nextRandomInt(int min, int max)
public final char nextRandomAlphaNumChar()
public final java.lang.String nextRandomString(scala.Function0<java.lang.Object> charGen, int len, java.lang.StringBuilder sb)