Interface Parser.Listener
- All Known Subinterfaces:
 ClientParser.Listener, ServerParser.Listener
- Enclosing class:
 Parser
public static interface Parser.Listener
- 
Method Summary
Modifier and TypeMethodDescriptiondefault booleanonContent(int request, FCGI.StreamType stream, ByteBuffer buffer) default booleanonEnd(int request) default voiddefault voiddefault booleanonHeaders(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 boolean onEnd(int request)  - 
onFailure
 
 -