GNU General Public License (GPL)
You can use the class whenever you want to call an url. To call an url and pass parameters via get you have to write:
ExecuteUrl url = new ExecuteUrl("http://www.mysite.com", "myPage.do?username=usr&password=pwd"); String output = url.readAll(); url.close();
ExecuteUrl url = new ExecuteUrl("http://www.mysite.com", "myPage.do"); //setting parameters url.write("username", "usr"); url.write("password", "pwd"); url.flush(); String output = url.readAll(); url.close();