question: protected String readLine ( ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; int c ; while ( ( c = inputStream . read ( ) ) != - 1 ) { if ( c == '\r' ) continue ; if ( c == '\n' ) break ; sb . append ( ( char ) c ) ; } return sb . toString ( ) ; }
target:  Reads one response line.