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
 
 
 
- 
 public class ResponseContentParser extends StreamContentParser 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 classes/interfaces inherited from class org.eclipse.jetty.fcgi.parser.ContentParserContentParser.Result
 
- 
 - 
Constructor SummaryConstructors Constructor Description ResponseContentParser(HeaderParser headerParser, ClientParser.Listener listener)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidend(int request)voidnoContent()protected booleanonContent(java.nio.ByteBuffer buffer)- 
Methods inherited from class org.eclipse.jetty.fcgi.parser.StreamContentParserparse
 - 
Methods inherited from class org.eclipse.jetty.fcgi.parser.ContentParsergetContentLength, getRequest
 
- 
 
- 
- 
- 
Constructor Detail- 
ResponseContentParserpublic ResponseContentParser(HeaderParser headerParser, ClientParser.Listener listener) 
 
- 
 - 
Method Detail- 
noContentpublic void noContent() - Overrides:
- noContentin class- StreamContentParser
 
 - 
onContentprotected boolean onContent(java.nio.ByteBuffer buffer) - Overrides:
- onContentin class- StreamContentParser
 
 - 
endprotected void end(int request) - Overrides:
- endin class- StreamContentParser
 
 
- 
 
-