Package org.eclipse.jetty.fcgi.parser
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; }
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
ContentParser.Result
-
-
Constructor Summary
Constructors Constructor Description ParamsContentParser(HeaderParser headerParser, ServerParser.Listener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
noContent()
protected void
onParam(java.lang.String name, java.lang.String value)
protected void
onParams()
ContentParser.Result
parse(java.nio.ByteBuffer buffer)
-
Methods inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
getContentLength, getRequest
-
-
-
-
Constructor Detail
-
ParamsContentParser
public ParamsContentParser(HeaderParser headerParser, ServerParser.Listener listener)
-
-
Method Detail
-
parse
public ContentParser.Result parse(java.nio.ByteBuffer buffer)
- Specified by:
parse
in classContentParser
-
noContent
public void noContent()
- Overrides:
noContent
in classContentParser
-
onParam
protected void onParam(java.lang.String name, java.lang.String value)
-
onParams
protected void onParams()
-
-