Package org.eclipse.jetty.fcgi.parser
Class StreamContentParser
- java.lang.Object
-
- org.eclipse.jetty.fcgi.parser.ContentParser
-
- org.eclipse.jetty.fcgi.parser.StreamContentParser
-
- Direct Known Subclasses:
ResponseContentParser
public class StreamContentParser extends ContentParser
A stream content parser parses frame bodies of type STDIN, STDOUT and STDERR.
STDOUT frame bodies are handled specially by
ResponseContentParser
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
ContentParser.Result
-
-
Constructor Summary
Constructors Constructor Description StreamContentParser(HeaderParser headerParser, FCGI.StreamType streamType, Parser.Listener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
end(int request)
void
noContent()
protected boolean
onContent(java.nio.ByteBuffer buffer)
ContentParser.Result
parse(java.nio.ByteBuffer buffer)
-
Methods inherited from class org.eclipse.jetty.fcgi.parser.ContentParser
getContentLength, getRequest
-
-
-
-
Constructor Detail
-
StreamContentParser
public StreamContentParser(HeaderParser headerParser, FCGI.StreamType streamType, Parser.Listener listener)
-
-
Method Detail
-
parse
public ContentParser.Result parse(java.nio.ByteBuffer buffer)
- Specified by:
parse
in classContentParser
-
noContent
public void noContent()
- Overrides:
noContent
in classContentParser
-
onContent
protected boolean onContent(java.nio.ByteBuffer buffer)
-
end
protected void end(int request)
-
-