public class ZapProxyUtilsImpl extends java.lang.Object implements LocalProxyUtils<org.zaproxy.clientapi.core.ClientApi>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROXY_NAME |
Constructor and Description |
---|
ZapProxyUtilsImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ProxyDetails<org.zaproxy.clientapi.core.ClientApi>> |
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.
|
public static final java.lang.String PROXY_NAME
public java.util.Optional<ProxyDetails<org.zaproxy.clientapi.core.ClientApi>> initProxy(@NotNull java.util.List<java.io.File> globalTempFiles, @NotNull java.util.List<java.io.File> tempFolders, @NotNull java.util.Optional<ProxySettings> upstreamProxy)
LocalProxyUtils
initProxy
in interface LocalProxyUtils<org.zaproxy.clientapi.core.ClientApi>
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