Class HttpConnectionOverFCGI.ResponseListener
java.lang.Object
org.eclipse.jetty.fcgi.client.http.HttpConnectionOverFCGI.ResponseListener
- All Implemented Interfaces:
ClientParser.Listener
,Parser.Listener
- Enclosing class:
HttpConnectionOverFCGI
private class HttpConnectionOverFCGI.ResponseListener
extends Object
implements ClientParser.Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.fcgi.parser.ClientParser.Listener
ClientParser.Listener.Adapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
noChannel
(int request) void
boolean
onContent
(int request, FCGI.StreamType stream, ByteBuffer buffer) void
onEnd
(int request) void
void
boolean
onHeaders
(int request)
-
Constructor Details
-
ResponseListener
private ResponseListener()
-
-
Method Details
-
onBegin
- Specified by:
onBegin
in interfaceClientParser.Listener
-
onHeader
- Specified by:
onHeader
in interfaceParser.Listener
-
onHeaders
public boolean onHeaders(int request) - Specified by:
onHeaders
in interfaceParser.Listener
- Parameters:
request
- the request id- Returns:
- true to signal to the parser to stop parsing, false to continue parsing
-
onContent
- Specified by:
onContent
in interfaceParser.Listener
- Parameters:
request
- the request idstream
- the stream typebuffer
- the content bytes- Returns:
- true to signal to the parser to stop parsing, false to continue parsing
- See Also:
-
onEnd
public void onEnd(int request) - Specified by:
onEnd
in interfaceParser.Listener
-
onFailure
- Specified by:
onFailure
in interfaceParser.Listener
-
noChannel
private void noChannel(int request)
-