public void getPage(final URLResponseHandler handler){
		MCApi.getScheduler().scheduleAsynchrounousTask(new Runnable(){
			public void run() {
				BufferedReader br = null;
				try {
					URLConnection connection = null;
					switch(connectionType){
					case GET:
						connection = getGETConnection();
					case POST:
						connection = getPOSTConnection();
					}

					br = new BufferedReader(new InputStreamReader(connection.getInputStream()));
					try {
						handler.validResponse(br);
					} catch (Exception e2){
						throw new URLParseException("Failed parsing response to url " + url);
					}
				} catch (Exception e){
					e.printStackTrace();
					handler.invalidResponse(e);
				} finally {
					try { if (br != null) br.close(); } catch (Exception e){}
				}
			}
		});
	}