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 frame content.
STDOUT frame content 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 classes/interfaces inherited from class ContentParser
ContentParser.Result - 
Constructor Summary
ConstructorsConstructorDescriptionResponseContentParser(HeaderParser headerParser, ClientParser.Listener listener)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidend(int request) booleanInvoked by theParserwhen the frame content length is zero.protected booleanonContent(ByteBuffer buffer) Methods inherited from class StreamContentParser
parseMethods inherited from class ContentParser
getContentLength, getRequest 
- 
Constructor Details
- 
ResponseContentParser
 
 - 
 - 
Method Details
- 
noContent
public boolean noContent()Description copied from class:ContentParserInvoked by the
Parserwhen the frame content length is zero.- Overrides:
 noContentin classStreamContentParser- Returns:
 - whether the parsing should stop
 
 - 
onContent
- Overrides:
 onContentin classStreamContentParser
 - 
end
protected void end(int request) - Overrides:
 endin classStreamContentParser
 
 -