public void process( final HttpResponse response, final HttpContext context) throws IOException { if(log.isInfoEnabled()) { log.info("< Status: " + response.getStatusLine().getStatusCode()); } validate(response); } });
DefaultHttpClient httpclient = null; try { final SchemeRegistry schemeRegistry = createRegistry(props); props.clearPassword(); registerInterceptors(httpclient); } catch (Exception e) { throw new IllegalStateException("Error Creating HTTP client. ", e);