# Interface IOCallback

All Known Implementing Classes:
  `HTMLComponent`

public interface IOCallback
This interface is implemented by HTMLComponent and ResourceThread (The two classes using the AsyncDocumentRequestHandler)

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `streamReady(InputStream is, DocumentInfo docInfo)`
  Called when the stream of the document is ready

- ## Method Details

  - ### streamReady

    void streamReady(InputStream is, DocumentInfo docInfo)

    Called when the stream of the document is ready

    ###### Parameters

    - `is`: The ready InputStream

    - `docInfo`: A DocumentInfo object representing the fetched InputStream