Class Http1Headers

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

public final class Http1Headers extends Object
HTTP/1 headers reader.
  • Constructor Details

    • Http1Headers

      public Http1Headers(DataReader reader, int maxHeadersSize, boolean validateHeaders)
      Create a new instance.
      Parameters:
      reader - data reader
      maxHeadersSize - maximal header size
      validateHeaders - whether to validate headers
  • Method Details

    • readHeaders

      public WritableHeaders<?> readHeaders(HttpPrologue prologue)
      Read headers.
      Parameters:
      prologue - parsed prologue of this request
      Returns:
      writable headers parsed from the request data