类的使用
net.jlxxw.http.spider.proxy.ProxyRestTemplatePool
使用ProxyRestTemplatePool的程序包
程序包
说明
-
net.jlxxw.http.spider.adapter中ProxyRestTemplatePool的使用
限定符构造器说明HttpSpiderAdapter(ProxyRestTemplatePool proxyRestTemplatePool, DownloadFileTools downloadFileTools) -
net.jlxxw.http.spider.configuration中ProxyRestTemplatePool的使用
修饰符和类型方法说明HttpSpiderAutoConfiguration.proxyRestTemplatePool(ProxyRestTemplateFactory proxyRestTemplateFactory, ProxyPoolProperties proxyPoolProperties) 修饰符和类型方法说明HttpSpiderAutoConfiguration.downloadFileTools(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor httpConcurrencyDownloadExecutor, org.springframework.beans.factory.BeanFactory beanFactory, FileProperties fileProperties, HttpConcurrencyPoolProperties httpConcurrencyPoolProperties, ProxyRestTemplatePool proxyRestTemplatePool) HttpSpiderAutoConfiguration.httpSpider(ProxyRestTemplatePool proxyRestTemplatePool, DownloadFileTools downloadFileTools) -
net.jlxxw.http.spider.file中ProxyRestTemplatePool的使用
限定符构造器说明DownloadFileTools(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor httpDownloadExecutor, org.springframework.beans.factory.BeanFactory beanFactory, FileProperties fileProperties, HttpConcurrencyPoolProperties httpConcurrencyPoolProperties, ProxyRestTemplatePool proxyRestTemplatePool) 创建一个默认的下载文件服务 -
net.jlxxw.http.spider.file.thread中ProxyRestTemplatePool的使用
修饰符和类型方法说明static AbstractDownloadFileThreadAbstractDownloadFileThread.bigFileThread(ProxyRestTemplatePool proxyRestTemplatePool, org.springframework.http.HttpHeaders header, FileInfo fileInfo, int index, long start, long end) 创建下载大文件线程static AbstractDownloadFileThreadAbstractDownloadFileThread.littleFileThread(ProxyRestTemplatePool proxyRestTemplatePool, org.springframework.http.HttpHeaders header, FileInfo fileInfo) 创建小文件下载线程