isDataAvailable() method

To check whether the response object is available or it needs to be streamed in chunks.

Syntax

public boolean isDataAvailable ()