Class BeginRequestContentParser

java.lang.Object
org.eclipse.jetty.fcgi.parser.ContentParser
org.eclipse.jetty.fcgi.parser.BeginRequestContentParser

public class BeginRequestContentParser extends ContentParser

Parser for the BEGIN_REQUEST frame content.

struct begin_request_body {
    ushort role;
    ubyte flags;
    ubyte[5] reserved;
}
  • Constructor Details

  • Method Details

    • getBeginNanoTime

      public long getBeginNanoTime()
    • parse

      public ContentParser.Result parse(ByteBuffer buffer)
      Description copied from class: ContentParser

      Parses the bytes in the given buffer as FastCGI frame content bytes.

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