private String readResponse(InputStream in){
  BufferedReader reader=new BufferedReader(new InputStreamReader(in));
  String inputLine;
  StringBuilder builder=new StringBuilder();
  try {
    while ((inputLine=reader.readLine()) != null) {
      builder.append(inputLine);
    }
  }
 catch (  IOException e) {
    throw new MCApiRuntimeException(e);
  }
  return builder.toString();
}

private String readResponse ( InputStream in ) { BufferedReader reader = new BufferedReader ( new InputStreamReader ( in ) ) ; String inputLine ; StringBuilder builder = new StringBuilder ( ) ; try { while ( ( inputLine = reader . readLine ( ) ) != null ) { builder . append ( inputLine ) ; } } catch ( IOException e ) { throw new MCApiRuntimeException ( e ) ; } return builder . toString ( ) ; }
method to read the response from the https connection
