for (int i = 0; i < cookies.size(); i++) {
System.out.println("- " + cookies.get(i).toString());
}
}
HttpSessionUtils httpSession = new HttpSessionUtils(webClient, "ERROR");
StringBuilder builder = new StringBuilder("https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=1k96igf4806cy<mpl=default<mplcache=2");
builder.append('\n').append("your_username:your_password");
httpSession.login(builder.toString(), "utf-8", new URL(homepage), homepage);
httpGet = webClient.createGetMethod("http://mail.google.com/mail/", "http://gmail.com");
response = webClient.execute(httpHost, httpGet);
entity = response.getEntity();