// Create a method GET instance.
GetMethod methodGET = new GetMethod(url);
// Provide custom retry handler is necessary
methodGET.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
new DefaultHttpMethodRetryHandler(3, false));
// Set the parameters of the method GET
methodGET.getParams().setParameter("command", command);
methodGET.getParams().setParameter("account", account);
methodGET.getParams().setParameter("password", password);