Class Http1Headers

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

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

    Constructors
    Constructor
    Description
    Http1Headers(io.helidon.common.buffers.DataReader reader, int maxHeadersSize, boolean validateHeaders)
    Create a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.helidon.http.WritableHeaders<?>
    readHeaders(io.helidon.http.HttpPrologue prologue)
    Read headers.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Http1Headers

      public Http1Headers(io.helidon.common.buffers.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 io.helidon.http.WritableHeaders<?> readHeaders(io.helidon.http.HttpPrologue prologue)
      Read headers.
      Parameters:
      prologue - parsed prologue of this request
      Returns:
      writable headers parsed from the request data