_password = password;
}
public void connectToServer(final int connectTimeoutMillis, final int readTimeoutMillis) throws Exception {
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<Boolean> future = executor.submit(new Callable<Boolean>() {
public Boolean call() throws Exception {
HttpClientParams params = new HttpClientParams();
params.setIntParameter(HttpConnectionParams.CONNECTION_TIMEOUT, connectTimeoutMillis);
params.setIntParameter(HttpConnectionParams.SO_TIMEOUT, readTimeoutMillis);
Map<String,Object> props = new HashMap<String, Object>();