Class HeaderBlockParser

java.lang.Object
org.eclipse.jetty.http2.parser.HeaderBlockParser

public class HeaderBlockParser extends Object
  • Constructor Details

  • Method Details

    • getMaxHeaderListSize

      public int getMaxHeaderListSize()
    • parse

      public MetaData parse(ByteBuffer buffer, int blockLength)
      Parses @{code blockLength} HPACK bytes from the given buffer.
      Parameters:
      buffer - the buffer to parse
      blockLength - the length of the HPACK block
      Returns:
      null, if the buffer contains less than blockLength bytes; an instance of MetaData.Failed if parsing the HPACK block produced a failure; an instance of MetaData if the parsing was successful.