Class SettingsBodyParser

java.lang.Object
org.eclipse.jetty.http3.parser.BodyParser
org.eclipse.jetty.http3.parser.SettingsBodyParser

public class SettingsBodyParser extends BodyParser
  • Constructor Details

  • Method Details

    • emptyBody

      protected void emptyBody(ByteBuffer buffer, boolean last)
      Overrides:
      emptyBody in class BodyParser
    • parse

      public BodyParser.Result parse(ByteBuffer buffer, boolean last)
      Description copied from class: BodyParser

      Parses the frame body bytes in the given buffer.

      Only the frame body bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes, for example for other frames.

      Specified by:
      parse in class BodyParser
      Parameters:
      buffer - the buffer to parse
      Returns:
      the result of the parsing