How to use cURL in Java?

后端 未结 6 2021
孤街浪徒
孤街浪徒 2020-11-22 14:03

I am a newbie in java and wanted to use curl in java. What is my question is curl built-in in java or I have to install it from any 3rd party source to use with Java. If so,

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 14:52

    Curl is a non-java program and must be provided outside your Java program.

    You can easily get much of the functionality using Jakarta Commons Net, unless there is some specific functionality like "resume transfer" you need (which is tedious to code on your own)

提交回复
热议问题