Package org.eclipse.jetty.fcgi.parser
Class BeginRequestContentParser
java.lang.Object
org.eclipse.jetty.fcgi.parser.ContentParser
org.eclipse.jetty.fcgi.parser.BeginRequestContentParser
Parser for the BEGIN_REQUEST frame content.
struct begin_request_body { ushort role; ubyte flags; ubyte[5] reserved; }
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
ContentParser.Result
-
Constructor Summary
ConstructorDescriptionBeginRequestContentParser
(HeaderParser headerParser, ServerParser.Listener listener) -
Method Summary
Modifier and TypeMethodDescriptionlong
parse
(ByteBuffer buffer) Parses the bytes in the givenbuffer
as FastCGI frame content bytes.Methods inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
getContentLength, getRequest, noContent
-
Constructor Details
-
BeginRequestContentParser
-
-
Method Details
-
getBeginNanoTime
public long getBeginNanoTime() -
parse
Description copied from class:ContentParser
Parses the bytes in the given
buffer
as FastCGI frame content bytes.- Specified by:
parse
in classContentParser
- Parameters:
buffer
- the bytes to parse- Returns:
- the result of the parsing
-