Package org.eclipse.jetty.fcgi.parser
Interface Parser.Listener
- All Known Subinterfaces:
ClientParser.Listener
,ServerParser.Listener
- Enclosing class:
- Parser
public static interface Parser.Listener
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
onContent
(int request, FCGI.StreamType stream, ByteBuffer buffer) default void
onEnd
(int request) default void
default void
default boolean
onHeaders
(int request)
-
Method Details
-
onHeader
-
onHeaders
default 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
default void onEnd(int request) -
onFailure
-