Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescription(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.13.0) This functionality has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This functionality has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This option has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This option has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.14.0) Use
ParosDatabase.setDatabaseOptions(DatabaseParam)
instead.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Superseded by Network add-on options.(2.15.0) Returns an empty list always. The scan rules are loaded by the corresponding extension.(2.15.0) The scan rules are loaded by the corresponding extension.(2.15.0) The core scan rules are directly loaded by the corresponding extension.(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.12.0) UsePassiveScanController
instead.(2.16.0) Use the classes from the Common Library add-on.(2.16.0) Use the classes from the Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.16.0) Use/rely on exim add-on.(2.16.0) OverridePopupMenuItemContextInclude.createPopupIncludeInContextMenu(int)
instead.
-
Deprecated InterfacesInterfaceDescription(2.12.0) Replaced by Requester add-on.(2.11.0) Superseded by the OAST add-on.(2.12.0) Not in effective use.(2.16.0) Use the classes from the Common Library add-on.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.
-
Deprecated ClassesClassDescription(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer used/needed by core. Use the network add-on instead.(2.12.0)(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) Use the network add-on instead.(2.12.0) Use the network add-on instead.No longer used/needed. It will be removed in a future release.(2.12.0) see the exim add-on(2.12.0) see the exim add-on(2.12.0) Replaced by Requester add-on.(2.12.0) Replaced by Requester add-on.(2.12.0) Replaced by Requester add-on.(2.12.0) Replaced by Requester add-on.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use, it will be removed in a following version.(2.12.0) Use the network add-on instead.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) No longer in effective use by core. It will be removed in a following release.(2.12.0) Implementation details, do not use.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.11.0) Superseded by the OAST add-on.(2.12.0)(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.13.0) Superseded by Network add-on options.(2.12.0) see the exim add-on(2.12.0) see the exim add-on(2.12.0) see the exim add-on(2.12.0) Replaced by Requester add-on.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.7.0) Not used, it will be removed in a future version.(2.12.0) No longer in use.(2.12.0) Use the capabilities provided by the network add-on.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) Use
PassiveScanController
instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) see the exim add-on(2.12.0) Replaced by Requester add-on.(2.12.0) This class has been moved to the zap-extensions repo.(2.12.0) This class has been moved to the zap-extensions repo.(2.12.0) No longer in use.(2.16.0) Use the classes from the Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.12.0) No longer in use.(2.12.0) No longer in use, it will be removed in a following version.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) No longer in use, it will be removed in a following version.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.12.0) See the spider add-on in zap-extensions instead.(2.8.0) The use of this class is discouraged, it expects aURLClassLoader
as system class loader, which is not always the case (e.g. Java 9+).(2.16.0) Use/rely on exim add-on.in ZAP (2.10.0)(2.12.0) No longer in use.(2.12.0) No longer in use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.(2.12.0) Implementation details, do not use.
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescription(2.11.0) Use
SSLContextManager.IBM_PKCS11_CANONICAL_CLASS_NAME
(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.8.0) Should not be used, the filter functionality is deprecated (replaced by scripts and Replacer add-on).(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.14.0) The vulnerabilities were moved to Common Library add-on.(2.9.0) Do not use, it will be removed.(2.9.0) Do not use, it will be removed.(2.10.0) UseAbstractDatabase.getLogger()
instead.2.15.02.15.02.15.02.15.0(2.12.0) No longer in use.(2.12.0) No longer in use.UseHistoryReference.TYPE_PROXIED
instead.(2.13.0) CFU requests are sent without notifying listeners.(2.11.0) UseHttpStatusCode.GATEWAY_TIMEOUT
(2.7.0) UseAPI.getBaseURL(boolean)
instead. This URL might not be correct in all cases, for example, if the API is set 'Secure' (thus needing to use HTTPS).(2.7.0) UseExtensionHelp.getHelpIcon()
instead.(2.7.0) UseExtensionScript.getScriptIcon()
instead.Not for public use. Replaced byTech.getAll()
.Not for public use. Replaced byTech.getTopLevel()
.Not for public use. Replaced byTechSet.getAllTech()
.(2.7.0) No longer in use, replaced bySpiderParam#getMaxParseSizeBytes()
.(2.10.0) UseFetchFilter.getLogger()
instead.(2.10.0) UseParseFilter.getLogger()
instead.(2.10.0) UseSpiderParser.getLogger()
instead.
-
Deprecated MethodsMethodDescription(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) No longer used/needed. It will be removed in a future release.(2.12.0) Use
Control.initSingletonWithoutView(ControlOverrides)
instead. It will be removed in a future release.(2.12.0) The proxy is no longer managed by Control. It will be removed in a future release.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.9.0) UseAbstractPlugin.newAlert()
to build andraise
the alert.(2.10.0) UseAbstractPlugin.getLogger()
instead.(2.13.0) This functionality has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This functionality has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This option has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.13.0) This option has been superseded with the rate limiting provided by the Network add-on. It will be removed in a future release.(2.8.0) replaced byDbUtils.execute(java.sql.Connection, java.lang.String)
(2.8.0) replaced byDbUtils.executeUpdate(java.sql.Connection, java.lang.String)
(2.14.0) UseParosDatabase.setDatabaseOptions(DatabaseParam)
instead.(2.7.0) No longer supported, the invoker might not be contained in aJFrame
. It should be obtained itsancestor Window
instead.(2.7.0) No longer supported, the parent component is obtained from the invoker moreover the invoker might not be contained in aJFrame
.(2.8.0) Don't override, not used.Replaced by the methodExtensionHook.addSiteMapListener(SiteMapListener)
. It will be removed in a future release.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.13.0) Use the network add-on to create proxies.(2.12.0) Replaced by Requester add-on.(2.7.0) No longer used/needed.(2.12.0) No longer used/needed. It will be removed in a future release.(2.7.0) UseExtensionAlert.showAlertEditDialog(Alert)
instead.(2.7.0) UseExtensionAlert.showAlertAddDialog(HistoryReference)
instead.(2.7.0) UseExtensionAlert.showAlertAddDialog(HttpMessage, int)
instead.(2.12.0) No longer used/needed. It will be removed in a future release.(2.8.0) Replaced byOptionsParamView.getFontName(org.zaproxy.zap.utils.FontUtils.FontType)
.(2.8.0) Replaced byOptionsParamView.getFontSize(org.zaproxy.zap.utils.FontUtils.FontType)
.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.8.0) Replaced byOptionsParamView.setFontName(org.zaproxy.zap.utils.FontUtils.FontType, String)
.(2.8.0) Replaced byOptionsParamView.setFontSize(org.zaproxy.zap.utils.FontUtils.FontType, int)
.(2.12.0) No longer in use.(2.12.0) No longer in use.(2.10.0) UseOptionsParamView.setLookAndFeelInfo(LookAndFeelInfo)
instead, which preserves the class of the look and feel.(2.7.0) UseHistoryReference.setTags(List)
instead.(2.8.0) UseExtensionAntiCSRF
to manage the tokens, if theAntiCsrfParam
is really needed useOptionsParam.getParamSet(Class)
instead.(2.12.0)(2.12.0) Use the network add-on instead.(2.12.0)(2.13.0) Superseded by Network add-on options.(2.12.0) Use the network add-on instead.(2.12.0)(2.12.0)(2.12.0) Use the network add-on instead.(2.12.0) No longer used/needed. It will be removed in a future release.2.10.0 use #getFormParameters(String)2.10.0 use #getParameters(String) This method will lose duplicated parameter names2.10.0 use #getUrlParameters(String)(2.12.0) No longer supported, when managing cookies they will be sent in a single header field.(2.12.0) No longer supported, when managing cookies they will be sent in a single header field.since 2.9.0. SeeHttpHeader.getHeaderValues(String)
insteadReplaced byHttpRequestHeader.isSecure()
. It will be removed in a future release.Use theHttpResponseHeader.getHttpCookies(String)
method to take into account the default domain for cookie(2.12.0) Use one of thesendAndReceive
methods. It will be removed in a following version.(2.8.0) Do not use, this exposes implementation details which might change without warning. It will be removed in a following version.(2.12.0) It will be removed in a following version.(2.12.0) No longer supported, it returns an empty string.(2.12.0) No longer supported, the circular redirects are allowed always. If needed they can be prevented with a customHttpRedirectionValidator
.(2.12.0) No longer supported, use aHttpSenderListener
to actually set the user agent.(2.12.0) No longer needed.(2.11.0) UseHttpStatusCode.isInformational(int)
(2.3.0) No longer supported since it's no longer required/called by Commons HttpClient library (version ≥ 3.0). ThrowsUnsupportedOperationException
.(2.3.0) No longer supported since it's no longer required/called by Commons HttpClient library (version ≥ 3.0). ThrowsUnsupportedOperationException
.(2.8.0) No longer used/needed.as of 2.7.0, replaced byMainFrame.setTitle(Session)
appendDirty has been deprecated in favour of usingOutputPanel.append(String)
(2.7.0) UseAddOn.getVersion()
instead.(2.15.0) Returns an empty list always. The scan rules are loaded by the corresponding extension.(2.8.0) UseAddOnInstaller.uninstall(AddOn, AddOnUninstallationProgressCallback, Set)
instead.(2.8.0) UseAddOnInstaller.uninstallAddOnFiles(AddOn, AddOnUninstallationProgressCallback, Set)
instead.(2.8.0) The use of this method is discouraged (specially during ZAP startup, as it's delayed), it's preferable to provide means to register/declare the required classes instead of searching "everywhere".(2.8.0) The use of this method is discouraged (specially during ZAP startup, as it's delayed), it's preferable to provide means to register/declare the required classes instead of searching "everywhere".(2.15.0) The scan rules are loaded by the corresponding extension.(2.7.0) UseBaseZapAddOnXmlData.AddOnDep.getVersion()
instead.(2.7.0) UseBaseZapAddOnXmlData.AddOnDep.getVersion()
instead.(2.7.0) UseBaseZapAddOnXmlData.AddOnDep.getVersion()
instead.(2.7.0) UseBaseZapAddOnXmlData.getVersion()
instead.(2.15.0) The core scan rules are directly loaded by the corresponding extension.(2.11.0) UseScanProgressItem.getAttackStrengthLabel()
(2.9.0) UseScriptsActiveScanner.newAlert()
to build andraise
alerts.(2.9.0) UseScriptsActiveScanner.newAlert()
to build andraise
alerts.(2.7.0) No longer used/needed.(2.12.0) use #getOldestRunningTask()(2.12.0) use #getOldestRunningTask()(2.12.0) use #getOldestRunningTask()(2.7.0) No longer used, theAlertThreshold
is only needed for/byPluginPassiveScanner
.(2.7.0) No longer used, theAlertThreshold
is only needed for/byPluginPassiveScanner
.(2.11.0) UsePassiveScanThread.addTag(String)
instead, the id is not used.(2.12.0) Replaced byPluginPassiveScanner.addHistoryTag(String)
.(2.7.0) Replaced byPluginPassiveScanner.getAlertThreshold()
.(2.7.0) Replaced byPluginPassiveScanner.getAlertThreshold(boolean)
.(2.7.0) Replaced byPluginPassiveScanner.setDefaultAlertThreshold(AlertThreshold)
.(2.7.0) Replaced byPluginPassiveScanner.setAlertThreshold(AlertThreshold)
.2.12.0 Replaced byScriptsPassiveScanner.addHistoryTag(String)
(2.9.0) UseScriptsPassiveScanner.newAlert()
to build andraise
alerts.(2.9.0) UseScriptsPassiveScanner.newAlert()
to build andraise
alerts.(2.9.0) UseExtensionScript.removeScriptType(ScriptType)
instead.(2.11.0) UseScriptWrapper.isRunnableStandalone()
(2.9.0) UseContext.getId()
instead.2.10.0 use #getParameters(String) This method will lose duplicated parameter names2.10.0 use #parseParameters(String) This method will lose duplicated parameter names2.10.0 use #getParameters(String) This method will lose duplicated parameter names2.10.0 use #parseParameters(String) This method will lose duplicated parameter names(2.7.0) UseParseFilter.filtered(HttpMessage)
instead, which allows to provide the reason why the message was filtered.(2.11.0) UseSpiderParser.notifyListenersResourceFound(SpiderResourceFound)
instead.(2.11.0) UseSpiderParser.notifyListenersResourceFound(SpiderResourceFound)
instead.use #getAuthenticationState().getLastSuccessfulAuthTime()2.12.0 Include the HTML tags in the Message.properties file(2.9.0) UseAbstractContextPropertiesPanel.getContextId()
instead(2.7.0) UseHttpPanelManager.removeRequestDefaultViewSelectors(String, String, Object)
instead(2.16.0) OverridePopupMenuItemContextInclude.createPopupIncludeInContextMenu(int)
instead.(2.8.0) UseZapMenuItem.getIdentifier()
instead.
-
Deprecated ConstructorsConstructorDescriptionUse
HostProcess(String, Scanner, ScannerParam, ScanPolicy, RuleConfigParam)
instead. It will be removed in a future version.(2.12.0) UseHostProcess(String, Scanner, ScannerParam, ScanPolicy, RuleConfigParam)
instead.UseScanner(ScannerParam, ScanPolicy, RuleConfigParam)
instead. It will be removed in a future version.(2.12.0) UseScanner(ScannerParam, ScanPolicy, RuleConfigParam)
instead.(2.8.0) UseExtensionAdaptor(String)
instead, the version is not used.(2.8.0) UseHttpMessage(URI)
instead.(2.8.0) UseHttpRequestHeader(String, URI, String)
instead.(2.12.0) UseHttpSender(int)
instead, refer also toHttpSender.setUseGlobalState(boolean)
.2.7.0, use #FindDialog(Window, boolean) instead2.7.0, use #FindDialog(Window, boolean) insteadNo longer used/needed. It will be removed in a future release. Use the constructorSessionDialog(Frame parent, boolean modal, String title, String rootName)
instead.(2.12.0) UseCoreAPI()
instead.(2.12.0) UseActiveScan(String, ScannerParam, ScanPolicy, RuleConfigParam)
instead.(2.12.0)(2.12.0)(2.12.0)(2.8.0) UseDefaultEngineWrapper(ScriptEngineFactory)
instead.(2.8.0) UseJavascriptEngineWrapper(ScriptEngineFactory)
instead.(2.8.0) UseScriptEngineWrapper(ScriptEngineFactory)
instead.(2.7.0) Replaced by#DefaultParseFilter(SpiderParam, ResourceBundle)
.(2.7.0) UseMaxChildrenParseFilter(ResourceBundle)
instead.org.zaproxy.zap.spider.Spider(String, ExtensionSpider, SpiderParam, ConnectionParam, Model, Context) (2.12.0) Use#Spider(String, ExtensionSpider, SpiderParam, Model, Context)
instead.
-
Deprecated Enum ConstantsEnum ConstantDescription(2.7.0) No longer in use. It should be used just
AddOn.BaseRunRequirements.DependencyIssue.VERSION
.(2.7.0) No longer in use. It should be used justAddOn.BaseRunRequirements.DependencyIssue.VERSION
.