public void doReply(InputStream in,OutputStream out,String cmd) throws IOException, BadHttpRequest {
  if (cmd.startsWith("POST /rmi "))   processRMI(in,out);
 else   if (cmd.startsWith("POST /lookup "))   lookupName(cmd,in,out);
 else   super.doReply(in,out,cmd);
}

public void doReply ( InputStream in , OutputStream out , String cmd ) throws IOException , BadHttpRequest { if ( cmd . startsWith ( "POST /rmi " ) ) processRMI ( in , out ) ; else if ( cmd . startsWith ( "POST /lookup " ) ) lookupName ( cmd , in , out ) ; else super . doReply ( in , out , cmd ) ; }
processes a request from a web browser ( an objectimporter ) .
