public void run(){
  String line;
  try {
    while (isConnectionOpen) {
      line=in.readLine();
      if (line == null)       break;
      processLine(line);
    }
  }
 catch (  IOException e) {
  }
 finally {
    try {
      close();
    }
 catch (    IOException e2) {
    }
  }
  Debug.message("httpconnection","Connection closed. Exiting thread");
}

public void run ( ) { String line ; try { while ( isConnectionOpen ) { line = in . readLine ( ) ; if ( line == null ) break ; processLine ( line ) ; } } catch ( IOException e ) { } finally { try { close ( ) ; } catch ( IOException e2 ) { } } Debug . message ( "httpconnection" , "Connection closed. Exiting thread" ) ; }
the running thread simply reads all the lines of input and hands each line off to be parsed .
