Class CoreDeprecated
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.CoreDeprecated
- Direct Known Subclasses:
Core
API implementation with deprecated methods, (re)moved from generated class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the alerts raised by ZAP, optionally filtering by URL and paginating with 'start' position and 'count' of alertsclearExcludedFromProxy(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.deleteAllAlerts(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.deleteSiteNode(String apikey, String url, String method, String postdata) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.excludeFromProxy(String apikey, String regex) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.generateRootCA(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]htmlreport(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.loadSession(String apikey, String name) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]messageHar(String apikey, String id) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]messagesHar(String apikey, String baseurl, String start, String count) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.newSession(String apikey, String name, String overwrite) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.numberOfAlerts(String baseurl) Gets the number of alerts, optionally filtering by URLbyte[]Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.runGarbageCollection(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.saveSession(String apikey, String name, String overwrite) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]sendHarRequest(String apikey, String request, String followredirects) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.sendRequest(String apikey, String request, String followredirects) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setHomeDirectory(String apikey, String dir) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionDefaultUserAgent(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionHttpStateEnabled(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainName(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainPassword(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainPort(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainPrompt(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainRealm(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainSkipName(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionProxyChainUserName(String apikey, String string) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionSingleCookieRequestHeader(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionTimeoutInSecs(String apikey, int i) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionUseProxyChain(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.setOptionUseProxyChainAuth(String apikey, boolean bool) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.byte[]Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.snapshotSession(String apikey) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.urls()Gets the URLs accessed through/by ZAPbyte[]Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.
-
Constructor Details
-
CoreDeprecated
-
-
Method Details
-
accessUrl
@Deprecated public ApiResponse accessUrl(String apikey, String url, String followredirects) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
shutdown
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
newSession
@Deprecated public ApiResponse newSession(String apikey, String name, String overwrite) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
loadSession
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
saveSession
@Deprecated public ApiResponse saveSession(String apikey, String name, String overwrite) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
snapshotSession
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
clearExcludedFromProxy
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
excludeFromProxy
@Deprecated public ApiResponse excludeFromProxy(String apikey, String regex) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setHomeDirectory
@Deprecated public ApiResponse setHomeDirectory(String apikey, String dir) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setMode
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
generateRootCA
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
sendRequest
@Deprecated public ApiResponse sendRequest(String apikey, String request, String followredirects) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
deleteAllAlerts
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
runGarbageCollection
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
deleteSiteNode
@Deprecated public ApiResponse deleteSiteNode(String apikey, String url, String method, String postdata) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionDefaultUserAgent
@Deprecated public ApiResponse setOptionDefaultUserAgent(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainName
@Deprecated public ApiResponse setOptionProxyChainName(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainPassword
@Deprecated public ApiResponse setOptionProxyChainPassword(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainRealm
@Deprecated public ApiResponse setOptionProxyChainRealm(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainSkipName
@Deprecated public ApiResponse setOptionProxyChainSkipName(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainUserName
@Deprecated public ApiResponse setOptionProxyChainUserName(String apikey, String string) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionHttpStateEnabled
@Deprecated public ApiResponse setOptionHttpStateEnabled(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainPort
@Deprecated public ApiResponse setOptionProxyChainPort(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionProxyChainPrompt
@Deprecated public ApiResponse setOptionProxyChainPrompt(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionSingleCookieRequestHeader
@Deprecated public ApiResponse setOptionSingleCookieRequestHeader(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionTimeoutInSecs
@Deprecated public ApiResponse setOptionTimeoutInSecs(String apikey, int i) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionUseProxyChain
@Deprecated public ApiResponse setOptionUseProxyChain(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setOptionUseProxyChainAuth
@Deprecated public ApiResponse setOptionUseProxyChainAuth(String apikey, boolean bool) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
proxypac
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
rootcert
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
setproxy
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
xmlreport
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
htmlreport
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
messageHar
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
messagesHar
@Deprecated public byte[] messagesHar(String apikey, String baseurl, String start, String count) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
sendHarRequest
@Deprecated public byte[] sendHarRequest(String apikey, String request, String followredirects) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
alerts
Gets the alerts raised by ZAP, optionally filtering by URL and paginating with 'start' position and 'count' of alerts- Throws:
ClientApiException
-
numberOfAlerts
Gets the number of alerts, optionally filtering by URL- Throws:
ClientApiException
-
urls
Gets the URLs accessed through/by ZAP- Throws:
ClientApiException
-
snapshotSession
- Throws:
ClientApiException
-
ClientApiconstructors that allow to set the API key (e.g.