Package org.eclipse.jetty.fcgi.parser
Class ResponseContentParser
java.lang.Object
org.eclipse.jetty.fcgi.parser.ContentParser
org.eclipse.jetty.fcgi.parser.StreamContentParser
org.eclipse.jetty.fcgi.parser.ResponseContentParser
The parser for STDOUT type frame bodies.
STDOUT frame bodies contain both the HTTP headers (but not the response line) and the HTTP content (either Content-Length delimited or chunked).
For this reason, a special HTTP parser is used to parse the frames body. This special HTTP parser is configured to skip the response line, and to parse HTTP headers and HTTP content.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static enum
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
ContentParser.Result
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientParser.Listener
private static final Logger
private final Map<Integer,
ResponseContentParser.ResponseParser> -
Constructor Summary
ConstructorsConstructorDescriptionResponseContentParser
(HeaderParser headerParser, ClientParser.Listener listener) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
end
(int request) void
protected boolean
onContent
(ByteBuffer buffer) Methods inherited from class org.eclipse.jetty.fcgi.parser.StreamContentParser
parse
Methods inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
getContentLength, getRequest
-
Field Details
-
LOG
-
parsers
-
listener
-
-
Constructor Details
-
ResponseContentParser
-
-
Method Details
-
noContent
public void noContent()- Overrides:
noContent
in classStreamContentParser
-
onContent
- Overrides:
onContent
in classStreamContentParser
-
end
protected void end(int request) - Overrides:
end
in classStreamContentParser
-