StringBuffer buf= new StringBuffer();
PropertyIterator iter= getArguments().iterator();
boolean first= true;
while (iter.hasNext())
{
HTTPArgument item= null;
try
{
item= (HTTPArgument)iter.next().getObjectValue();
}
catch (ClassCastException e)
{
item= new HTTPArgument((Argument)iter.next().getObjectValue());
}
if (!first)
{
buf.append("&");
}
else
{
first= false;
}
buf.append(item.getEncodedName());
if (item.getMetaData() == null)
{
buf.append("=");
}
else
{
buf.append(item.getMetaData());
}
buf.append(item.getEncodedValue());
}
return buf.toString();
}