Class HttpHeaderParserSpec.TestSetup
java.lang.Object
org.apache.pekko.http.impl.engine.parsing.HttpHeaderParserSpec.TestSetup
- Enclosing class:
- HttpHeaderParserSpec
-
Constructor Summary
ConstructorsConstructorDescriptionTestSetup
(HttpHeaderParserSpec.TestSetupMode testSetupMode, ParserSettings parserSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
final char
int
nextRandomInt
(int min, int max) char
final String
nextRandomString
(scala.Function0<Object> charGen, int len, StringBuilder sb) parseAndCache
(String lineA, String lineB) int
parseAndCache
(String line, HttpHeader header) scala.Tuple2<Object,
HttpHeader> scala.Tuple2<Object,
HttpHeader> parseLineFromBytes
(org.apache.pekko.util.ByteString bytes) parser()
-
Constructor Details
-
TestSetup
-
-
Method Details
-
parser
-
insert
-
parseLineFromBytes
-
parseLine
-
parseAndCache
-
parseAndCache
-
nextRandomPrintableChar
public char nextRandomPrintableChar() -
nextRandomInt
public int nextRandomInt(int min, int max) -
nextRandomAlphaNumChar
public final char nextRandomAlphaNumChar() -
nextRandomString
-