Interface Response.ContentSourceListener

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onContentSource(Response response, Content.Source contentSource)
    Callback method invoked when all the response headers have been received and parsed.
  • Method Details

    • onContentSource

      void onContentSource(Response response, Content.Source contentSource)
      Callback method invoked when all the response headers have been received and parsed. It is responsible for driving the contentSource instance with a read/demand loop. Note that this is not invoked for interim statuses.
      Parameters:
      response - the response containing the response line data and the headers
      contentSource - the Content.Source that must be driven to read the data