protected void processLine(String line) throws IOException {
  if (Debug.debugging("httpconnection")) {
    Debug.output("HttpConnection | processLine -- Processing command " + line);
  }
  if (line.startsWith("GET")) {
    processGetCommand(line);
  }
 else   if (line.startsWith("POST")) {
    Debug.message("httpconnection","handling POST");
    handlePost();
  }
}

protected void processLine ( String line ) throws IOException { if ( Debug . debugging ( "httpconnection" ) ) { Debug . output ( "HttpConnection | processLine -- Processing command " + line ) ; } if ( line . startsWith ( "GET" ) ) { processGetCommand ( line ) ; } else if ( line . startsWith ( "POST" ) ) { Debug . message ( "httpconnection" , "handling POST" ) ; handlePost ( ) ; } }
processes a line of an http request . the only interesting line we really look at is a get command , which starts with " get " .
