ResponseContentParserpublic 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 | Description |
|---|---|
StreamContentParser(HeaderParser headerParser,
FCGI.StreamType streamType,
Parser.Listener listener) |
| 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) |
getContentLength, getRequestpublic StreamContentParser(HeaderParser headerParser, FCGI.StreamType streamType, Parser.Listener listener)
public ContentParser.Result parse(java.nio.ByteBuffer buffer)
parse in class ContentParserpublic void noContent()
noContent in class ContentParserprotected boolean onContent(java.nio.ByteBuffer buffer)
protected void end(int request)
Copyright © 1995–2018 Webtide. All rights reserved.