Interface Response.AsyncContentListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onContent​(Response response, java.nio.ByteBuffer content, org.eclipse.jetty.util.Callback callback)
      Callback method invoked asynchronously when the response content has been received.
    • Method Detail

      • onContent

        void onContent​(Response response,
                       java.nio.ByteBuffer content,
                       org.eclipse.jetty.util.Callback callback)
        Callback method invoked asynchronously when the response content has been received.
        Parameters:
        response - the response containing the response line data and the headers
        content - the content bytes received
        callback - the callback to call when the content is consumed.