Package org.eclipse.jetty.fcgi.parser
Interface Parser.Listener
- All Known Subinterfaces:
ClientParser.Listener
,ServerParser.Listener
- All Known Implementing Classes:
ClientParser.Listener.Adapter
,Parser.Listener.Adapter
,ServerParser.Listener.Adapter
- Enclosing class:
- Parser
public static interface Parser.Listener
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onContent
(int request, FCGI.StreamType stream, ByteBuffer buffer) void
onEnd
(int request) void
void
boolean
onHeaders
(int request)
-
Method Details
-
onHeader
-
onHeaders
boolean onHeaders(int request) - Parameters:
request
- the request id- Returns:
- true to signal to the parser to stop parsing, false to continue parsing
-
onContent
- 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
void onEnd(int request) -
onFailure
-