int timeoutMillis = Integer.parseInt(LoginStyles.constants().resetPasswordTimeoutMillis());
builder.setTimeoutMillis(timeoutMillis);
builder.setHeader("Content-Type", "application/x-www-form-urlencoded");
builder.setHeader("Content-Length", String.valueOf(requestData.length()));
try {
builder.sendRequest(requestData, new RequestCallback() {
public void onError(Request request, Throwable exception) {
// Couldn't connect to server (could be timeout, SOP violation, etc.)
statusMsg.setInnerText(LoginStyles.constants().resetPasswordConnectionErrorMsg());
}