Class Http1Prologue

java.lang.Object
io.helidon.webserver.http1.Http1Prologue

public final class Http1Prologue extends Object
HTTP 1 prologue parsing support.
  • Constructor Details

    • Http1Prologue

      public Http1Prologue(DataReader reader, int maxLength, boolean validatePath)
      Create a new prologue parser.
      Parameters:
      reader - data reader
      maxLength - maximal prologue length
      validatePath - whether to validate path
  • Method Details

    • readPrologue

      public HttpPrologue readPrologue()
      Read next prologue.
      Returns:
      HTTP prologue