((DefaultHttpClient) client)
.setHttpRequestRetryHandler(new RequestRetryHandler());
// ((DefaultHttpClient)client).setHttpConnectionManager(manager);
final RetriesConfigurer current1 = new RetriesConfigurer();
maxretries = current1.configureWith(config);
final MethodsConfigurer current2 = new MethodsConfigurer();
methods = current2.configureWith(config);
final ExceptionHandlersConfigurer current3 = new ExceptionHandlersConfigurer();
exceptionHandlers = current3.configureWith(config);
final ValidCodesConfigurer current4 = new ValidCodesConfigurer();
validCodes = current4.configureWith(config);
final URLPatternConfigurer current5 = new URLPatternConfigurer();