I have below code working fine. though on prod environment, i need to read the json via proxy server. How to achieve the same? I can see some google examples with https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/client/SimpleClientHttpRequestFactory.html for simple REST requests via proxy, but not sure i can use that in this case for json reading
JsonFactory jasonFactory = new JsonFactory();
URL productFeedFile = new URL("**URL");
JsonParser jsonParser = jasonFactory.createParser(productFeedFile);