Interface Parser.Listener

    • Method Detail

      • onHeader

        void onHeader​(int request,
                      HttpField field)
      • onHeaders

        void onHeaders​(int request)
      • onContent

        boolean onContent​(int request,
                          FCGI.StreamType stream,
                          java.nio.ByteBuffer buffer)
        Parameters:
        request - the request id
        stream - the stream type
        buffer - the content bytes
        Returns:
        true to signal to the parser to stop parsing, false to continue parsing
        See Also:
        Parser.parse(java.nio.ByteBuffer)
      • onEnd

        void onEnd​(int request)
      • onFailure

        void onFailure​(int request,
                       java.lang.Throwable failure)