Class HttpHeaderParserSpec.TestSetup

java.lang.Object
org.apache.pekko.http.impl.engine.parsing.HttpHeaderParserSpec.TestSetup
Enclosing class:
HttpHeaderParserSpec

public abstract class HttpHeaderParserSpec.TestSetup extends Object
  • Constructor Details

  • Method Details

    • parser

      public HttpHeaderParser parser()
    • insert

      public void insert(String line, Object value)
    • parseLineFromBytes

      public scala.Tuple2<Object,HttpHeader> parseLineFromBytes(org.apache.pekko.util.ByteString bytes)
    • parseLine

      public scala.Tuple2<Object,HttpHeader> parseLine(String line)
    • parseAndCache

      public HttpHeader parseAndCache(String lineA, String lineB)
    • parseAndCache

      public int parseAndCache(String line, HttpHeader header)
    • nextRandomPrintableChar

      public char nextRandomPrintableChar()
    • nextRandomInt

      public int nextRandomInt(int min, int max)
    • nextRandomAlphaNumChar

      public final char nextRandomAlphaNumChar()
    • nextRandomString

      public final String nextRandomString(scala.Function0<Object> charGen, int len, StringBuilder sb)