new MultiThreadedHttpConnectionManager())), new URI(
photoServer));
ClientInterceptorRepositoryImpl interceptors = clientRequestFactory
.getPrefixInterceptors();
interceptors.registerInterceptor(new LoggingExecutionInterceptor());
interceptors.registerInterceptor(new CacheInterceptor(
new LightweightBrowserCache()));
interceptors.registerInterceptor(new ForceCachingExecutionInterceptor(
10));