Завершение request.post в середине соединения при использовании многопроцессорной обработки

В библиотеке underscore-java имеется метод U.fetch (url).

pom.xml:

  com.github.javadev
  underscore
  1.35

Пример кода:

import com.github.underscore.lodash.U;

public class Download {
    public static void main(String ... args) {
        String text = U.fetch("https://stackoverflow.com/questions"
        + "/921262/how-to-download-and-save-a-file-from-internet-using-java").text();
    }
}

0
задан James Doer 17 January 2019 в 07:53
поделиться