First thing first, this question is for Java8.
Having said that, let's go to the problem in hand.
- I have to make 2000 http calls with different parameters. Below is the URL https://stat.ripe.net/data/looking-glass/data.json?resource=IP-PREFIX
- The API put a restriction of maximum of 8 concurrent calls.
- I need to process response of each HTTP call later.
I am new to java and there seems to be so many different ways to accomplish this. However, I am not sure which one is the correct one. Also, limit of concurrent calls also makes it challenging for me to solve.
Can someone please point me to the Java topic which I need to learn?
Thanks for your time. I really appreciate your help.