reverseDNSTable.put(entry.relativeDOMAddress, entry);
}
private void loadParameters()
{
MashupURL url = new MashupURL();
// currently parameters is of this format --> DOMLocationOfMashup;"proxy";containerProxyURL
// eg. frame[0];proxy;encode(http://example.com/proxy.html)
String parameters = url.getPayload();
//Debug.log(10,"Extracted parameters: "+ parameters);
Log.debug("Extracted parameters: "+ parameters);
String[] parametersList = parameters.split(";");
if(parametersList.length > 1)
{
myDOMLocation = parametersList[0];
if(parametersList.length >= 2)
{
if( parametersList[1].equals("proxy"))
{
if(parametersList.length>=3)
{
containerProxyURL = URL.decodeComponent(parametersList[2]);
MashupURL containerProxy= new MashupURL(containerProxyURL);
containerDomain = containerProxy.getHost();
if(containerDomain != null )
{
// it seems we have all we need to communicate with container using proxy
communicationMethod = commMethodProxy;
}