final WebRequestSettings settings = new WebRequestSettings(fullUrl);
settings.setCharset("UTF-8");
settings.setAdditionalHeader("Referer", containingPage_.getWebResponse().getRequestSettings().getUrl()
.toExternalForm());
final HttpMethod submitMethod = HttpMethod.valueOf(method.toUpperCase());
settings.setHttpMethod(submitMethod);
if (user != null) {
final DefaultCredentialsProvider dcp = new DefaultCredentialsProvider();
dcp.addCredentials(user, password);
settings.setCredentialsProvider(dcp);