public class DownloadConfig extends Object implements AdditionalConfig
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DownloadConfig.Builder |
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
baseUrl |
private String |
cacheDir |
private de.flapdoodle.embed.process.config.store.IProxyFactory |
proxyFactory |
| 限定符 | 构造器和说明 |
|---|---|
private |
DownloadConfig(String cacheDir,
String baseUrl,
de.flapdoodle.embed.process.config.store.IProxyFactory proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DownloadConfig.Builder |
aDownloadConfig() |
String |
getBaseUrl() |
String |
getCacheDir() |
String |
getDownloadCacheDir()
已过时。
in favour of getCacheDir
|
de.flapdoodle.embed.process.config.store.IProxyFactory |
getProxyFactory() |
private final String cacheDir
private final String baseUrl
private final de.flapdoodle.embed.process.config.store.IProxyFactory proxyFactory
public de.flapdoodle.embed.process.config.store.IProxyFactory getProxyFactory()
@Deprecated public String getDownloadCacheDir()
public String getCacheDir()
public String getBaseUrl()
public static DownloadConfig.Builder aDownloadConfig()
Copyright © 2020. All rights reserved.