Demos and Usage of org.apache.commons.httpclient.HttpURL.setQuery(String queryName,String queryValue)


   1: import org.apache.commons.httpclient.HttpClient;
   2: import org.apache.commons.httpclient.HttpURL;
   3: import org.apache.commons.httpclient.methods.GetMethod;
   4:         ...
   5:             try {
   6:                 HttpURL url = new HttpURL( quoteURL.toString() );
   7:         ...
   8:                 url.setQuery( "symbol", symbol );
   9:                 

View Full Code Here