Class ParamsContentParser

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

public class ParamsContentParser extends ContentParser

Parser for the PARAMS frame body.

struct small_name_small_value_params_body {
    ubyte nameLength;
    ubyte valueLength;
    ubyte[] nameBytes;
    ubyte[] valueBytes;
}

struct small_name_large_value_params_body {
    ubyte nameLength;
    uint valueLength;
    ubyte[] nameBytes;
    ubyte[] valueBytes;
}

struct large_name_small_value_params_body {
    uint nameLength;
    ubyte valueLength;
    ubyte[] nameBytes;
    ubyte[] valueBytes;
}

struct large_name_large_value_params_body {
    uint nameLength;
    uint valueLength;
    ubyte[] nameBytes;
    ubyte[] valueBytes;
}
  • Field Details

    • LOG

      private static final Logger LOG
    • listener

      private final ServerParser.Listener listener
    • state

    • cursor

      private int cursor
    • length

      private int length
    • nameLength

      private int nameLength
    • valueLength

      private int valueLength
    • nameBytes

      private byte[] nameBytes
    • valueBytes

      private byte[] valueBytes
  • Constructor Details

  • Method Details