mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-06 17:18:54 +08:00
add methods
This commit is contained in:
parent
1204a0033e
commit
b5a511b9da
@ -45,6 +45,17 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
public class HttpDownloader {
|
public class HttpDownloader {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建下载器
|
||||||
|
*
|
||||||
|
* @param engine 引擎
|
||||||
|
* @param url 请求地址
|
||||||
|
* @return 下载器
|
||||||
|
*/
|
||||||
|
public static HttpDownloader of(ClientEngine engine, String url) {
|
||||||
|
return of(url).setEngine(engine);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建下载器
|
* 创建下载器
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user