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 classprivate static classprivate static enumNested classes/interfaces inherited from class ContentParser
ContentParser.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientParser.Listenerprivate static final Loggerprivate final Map<Integer, ResponseContentParser.ResponseParser> -
Constructor Summary
ConstructorsConstructorDescriptionResponseContentParser(HeaderParser headerParser, ClientParser.Listener listener) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidend(int request) voidprotected booleanonContent(ByteBuffer buffer) Methods inherited from class StreamContentParser
parseMethods inherited from class ContentParser
getContentLength, getRequest
-
Field Details
-
LOG
-
parsers
-
listener
-
-
Constructor Details
-
ResponseContentParser
-
-
Method Details
-
noContent
public void noContent()- Overrides:
noContentin classStreamContentParser
-
onContent
- Overrides:
onContentin classStreamContentParser
-
end
protected void end(int request) - Overrides:
endin classStreamContentParser
-