public void handle(HttpExchange t) throws IOException {
        	Vector<Message> info = connection.get();
        	String out = "Raum \t\t Temperatur \t PowerUsage \n";
        	out += "----------------------------------------------\n";
        	for(int i=0; i<info.size(); i++){
        		out += info.elementAt(i).room + " \t\t " + info.elementAt(i).temperature + " \t\t " + info.elementAt(i).powerUsage + "\n";
        	}
            String response = out;
            t.sendResponseHeaders(200, response.length());
            OutputStream os = t.getResponseBody();
            os.write(response.getBytes());
            os.close();
        }