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
.
ContentParser.Result
Constructor and Description |
---|
StreamContentParser(HeaderParser headerParser,
FCGI.StreamType streamType,
Parser.Listener listener) |
Modifier and Type | Method and Description |
---|---|
protected void |
end(int request) |
void |
noContent() |
protected boolean |
onContent(ByteBuffer buffer) |
ContentParser.Result |
parse(ByteBuffer buffer) |
getContentLength, getRequest
public StreamContentParser(HeaderParser headerParser, FCGI.StreamType streamType, Parser.Listener listener)
public ContentParser.Result parse(ByteBuffer buffer)
parse
in class ContentParser
public void noContent()
noContent
in class ContentParser
protected boolean onContent(ByteBuffer buffer)
protected void end(int request)
Copyright © 1995-2016 Webtide. All Rights Reserved.