@@ -0,0 +1,1444 @@
+package src;%0A%0Apublic class Requests %7B%0A%09public HttpWrapper wrapper = new HttpWrapper();%0A%09%0A%09public String get(String url, String headers)%7B%0A%09%09try%7B%0A%09%09%09wrapper.setHeaders(headers);%0A%09%09%09wrapper.get(url);%0A%09%09%09return wrapper.getHtml();%0A%09%09%7Dcatch(IllegalStateException e)%7B%0A%09%09%09Misc.debugWrite(lastDebugInfo());%0A%09%09%09Misc.debugWrite(wrapper.toString());%0A%09%09%09wrapper.setLastException(e.getMessage());%0A%09%09%09return %22%22;%0A%09%09%7D%0A%09%09%0A%09%7D%0A%09%0A%09public String get(String url)%7B%0A%09%09return get(url,%22%22);%0A%09%7D%0A%09%0A%09public String getUrl()%7B%0A%09%09return wrapper.getLastPage();%0A%09%7D%0A%09%0A%09public String post(String url, String postdata, String headers)%7B%0A%09%09try%7B%0A%09%09%09wrapper.setHeaders(headers);%0A%09%09%09wrapper.post(url,postdata);%0A%09%09%09return wrapper.getHtml();%0A%09%09%7Dcatch(Exception e)%7B%0A%09%09%09Misc.debugWrite(lastDebugInfo());%0A%09%09%09Misc.debugWrite(wrapper.toString());%0A%09%09%09wrapper.setLastException(e.getMessage());%0A%09%09%09return %22%22;%0A%09%09%7D%0A%09%7D%0A%09%0A%09public String post(String url, String postdata)%7B%0A%09%09return post(url,postdata,%22%22);%0A%09%7D%0A%09%0A%09public void simple()%7B%0A%09%09wrapper.simple = true;%0A%09%7D%0A%09%0A%09public void overrideReq(String req)%7B%0A%09%09wrapper.setOverrideReq(req);%0A%09%7D%0A%09%0A%09public String lastDebugInfo()%7B%0A%09%09String ret =  %0A%09%09  %22Debug info for %22 + getUrl() + %22%5Cn%5Cn%22%0A%09%09+ %22Request headers for %22 + getUrl() + %22%5Cn%22%0A%09%09+ wrapper.getHeaders() + %22%5Cn%22%0A%09%09+ %22%5Cn%5Cn%22%0A%09%09+ %22Response headers for %22 + getUrl() + %22%5Cn%22%0A%09%09+ wrapper.getLastHeaders() + %22%5Cn%22%0A%09%09+ %22Response body for %22 + getUrl() + %22%5Cn%22%0A%09%09+ wrapper.getHtml() + %22%5Cn%22%0A%09%09+ %22%5Cn%5Cn%22;%0A%09%09%0A%09%09return ret;%0A%09%7D%0A%7D%0A

Create Requests.java