curl in java
I am just new to java.
I am designing a stand-alone app in Java to download files using curl.
I want to know how to use curl in java.
I have this curl-code which I use to download files.
curl --proxy-digest -p -x 22.214.171.124:8080 --proxy-user abc:abc <download_url> -o <filename_with_extension>.
What will be it's equivalent in Java? Note that I need to use curl or something similar to curl so that I can bypass all proxy download limits.
Thanks in advance.
Can you give us a primer/tutorial about curl?