public interface LocalProxyUtils<T>
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ProxyDetails<T>> |
initProxy(java.util.List<java.io.File> globalTempFiles,
java.util.List<java.io.File> tempFolders,
java.util.Optional<ProxySettings> upstreamProxy)
Attempts to match the value assigned to the startInternalProxy system property with a
supported internal proxy, and starts it if a match was found.
|
java.util.Optional<ProxyDetails<T>> initProxy(@NotNull java.util.List<java.io.File> globalTempFiles, @NotNull java.util.List<java.io.File> tempFolders, @NotNull java.util.Optional<ProxySettings> upstreamProxy)
globalTempFiles
- Tempoarry files to be cleaned up once Iridium is closedtempFolders
- A collection that will be populate with any temporary folders to be cleaned up once the
test has completedupstreamProxy
- The details of the upstream proxy