package com.glezo.htmlWrapper;

public class HtmlProxy 
{
	private String	address;
	private int		port;
	private String	user;
	private String	password;
	
	public HtmlProxy(String address,int port,String user,String password)
	{
		this.address	=address;
		this.port		=port;
		this.user		=user;
		this.password	=password;
		System.setProperty("http.proxyHost",this.address);
		System.setProperty("https.proxyHost",this.address);
		System.setProperty("http.proxyPort",Integer.toString(this.port));
		System.setProperty("https.proxyPort",Integer.toString(this.port));
		if(this.user!=null)
		{
			System.getProperties().put("http.proxyUser",this.user);
			System.getProperties().put("https.proxyUser",this.user);
		}
		if(this.password!=null)
		{
			System.getProperties().put("http.proxyPassword",this.password);
			System.getProperties().put("https.proxyPassword",this.password);
		}
	}
}

@@ -877,10 +877,214 @@
 %0A%09%09%7D%0A%09%7D%0A
+%09public String%09getAddress()%09%7B%09return this.address;%09%7D%0A%09public int%09%09getPort()%09%09%7B%09return this.port;%09%09%7D%0A%09public String%09getUser()%09%09%7B%09return this.user;%09%09%7D%0A%09public String%09getPassword()%09%7B%09return this.password;%09%7D%0A
 %7D%0A

Update HtmlProxy.java