public boolean isEndReached ( ) { if ( to == null || from == null ) { // No range specified, must be complete response return true ; } if ( length == null ) { // No lenth specified, can't be end return false ; } return to == length - 1 ; }
Indicates whether the response reaches the end of the elements available on the server .