Class CoreDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.CoreDeprecated
-
- Direct Known Subclasses:
Core
public class CoreDeprecated extends java.lang.ObjectAPI implementation with deprecated methods, (re)moved from generated class.
-
-
Constructor Summary
Constructors Constructor Description CoreDeprecated(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponseaccessUrl(java.lang.String apikey, java.lang.String url, java.lang.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.ApiResponsealerts(java.lang.String baseurl, java.lang.String start, java.lang.String count)Gets the alerts raised by ZAP, optionally filtering by URL and paginating with 'start' position and 'count' of alertsApiResponseclearExcludedFromProxy(java.lang.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.ApiResponsedeleteAllAlerts(java.lang.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.ApiResponsedeleteSiteNode(java.lang.String apikey, java.lang.String url, java.lang.String method, java.lang.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.ApiResponseexcludeFromProxy(java.lang.String apikey, java.lang.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.ApiResponsegenerateRootCA(java.lang.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(java.lang.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.ApiResponseloadSession(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.String baseurl, java.lang.String start, java.lang.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.ApiResponsenewSession(java.lang.String apikey, java.lang.String name, java.lang.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.ApiResponsenumberOfAlerts(java.lang.String baseurl)Gets the number of alerts, optionally filtering by URLbyte[]proxypac(java.lang.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[]rootcert(java.lang.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.ApiResponserunGarbageCollection(java.lang.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.ApiResponsesaveSession(java.lang.String apikey, java.lang.String name, java.lang.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(java.lang.String apikey, java.lang.String request, java.lang.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.ApiResponsesendRequest(java.lang.String apikey, java.lang.String request, java.lang.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.ApiResponsesetHomeDirectory(java.lang.String apikey, java.lang.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.ApiResponsesetMode(java.lang.String apikey, java.lang.String mode)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.ApiResponsesetOptionDefaultUserAgent(java.lang.String apikey, java.lang.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.ApiResponsesetOptionHttpStateEnabled(java.lang.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.ApiResponsesetOptionProxyChainName(java.lang.String apikey, java.lang.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.ApiResponsesetOptionProxyChainPassword(java.lang.String apikey, java.lang.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.ApiResponsesetOptionProxyChainPort(java.lang.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.ApiResponsesetOptionProxyChainPrompt(java.lang.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.ApiResponsesetOptionProxyChainRealm(java.lang.String apikey, java.lang.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.ApiResponsesetOptionProxyChainSkipName(java.lang.String apikey, java.lang.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.ApiResponsesetOptionProxyChainUserName(java.lang.String apikey, java.lang.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.ApiResponsesetOptionSingleCookieRequestHeader(java.lang.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.ApiResponsesetOptionTimeoutInSecs(java.lang.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.ApiResponsesetOptionUseProxyChain(java.lang.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.ApiResponsesetOptionUseProxyChainAuth(java.lang.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[]setproxy(java.lang.String apikey, java.lang.String proxy)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.ApiResponseshutdown(java.lang.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.ApiResponsesnapshotSession()ApiResponsesnapshotSession(java.lang.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.ApiResponseurls()Gets the URLs accessed through/by ZAPbyte[]xmlreport(java.lang.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.
-
-
-
Constructor Detail
-
CoreDeprecated
public CoreDeprecated(ClientApi api)
-
-
Method Detail
-
accessUrl
@Deprecated public ApiResponse accessUrl(java.lang.String apikey, java.lang.String url, java.lang.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 public ApiResponse shutdown(java.lang.String apikey) 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
-
newSession
@Deprecated public ApiResponse newSession(java.lang.String apikey, java.lang.String name, java.lang.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 public ApiResponse loadSession(java.lang.String apikey, java.lang.String name) 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
-
saveSession
@Deprecated public ApiResponse saveSession(java.lang.String apikey, java.lang.String name, java.lang.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 public ApiResponse snapshotSession(java.lang.String apikey) 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
-
clearExcludedFromProxy
@Deprecated public ApiResponse clearExcludedFromProxy(java.lang.String apikey) 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
-
excludeFromProxy
@Deprecated public ApiResponse excludeFromProxy(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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 public ApiResponse setMode(java.lang.String apikey, java.lang.String mode) 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
-
generateRootCA
@Deprecated public ApiResponse generateRootCA(java.lang.String apikey) 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
-
sendRequest
@Deprecated public ApiResponse sendRequest(java.lang.String apikey, java.lang.String request, java.lang.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 public ApiResponse deleteAllAlerts(java.lang.String apikey) 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
-
runGarbageCollection
@Deprecated public ApiResponse runGarbageCollection(java.lang.String apikey) 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
-
deleteSiteNode
@Deprecated public ApiResponse deleteSiteNode(java.lang.String apikey, java.lang.String url, java.lang.String method, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.String apikey, java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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 public byte[] proxypac(java.lang.String apikey) throws ClientApiExceptionDeprecated.(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 public byte[] rootcert(java.lang.String apikey) throws ClientApiExceptionDeprecated.(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 public byte[] setproxy(java.lang.String apikey, java.lang.String proxy) throws ClientApiExceptionDeprecated.(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 public byte[] xmlreport(java.lang.String apikey) throws ClientApiExceptionDeprecated.(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 public byte[] htmlreport(java.lang.String apikey) throws ClientApiExceptionDeprecated.(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 public byte[] messageHar(java.lang.String apikey, java.lang.String id) throws ClientApiExceptionDeprecated.(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(java.lang.String apikey, java.lang.String baseurl, java.lang.String start, java.lang.String count) throws ClientApiExceptionDeprecated.(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(java.lang.String apikey, java.lang.String request, java.lang.String followredirects) throws ClientApiExceptionDeprecated.(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
public ApiResponse alerts(java.lang.String baseurl, java.lang.String start, java.lang.String count) throws ClientApiException
Gets the alerts raised by ZAP, optionally filtering by URL and paginating with 'start' position and 'count' of alerts- Throws:
ClientApiException
-
numberOfAlerts
public ApiResponse numberOfAlerts(java.lang.String baseurl) throws ClientApiException
Gets the number of alerts, optionally filtering by URL- Throws:
ClientApiException
-
urls
public ApiResponse urls() throws ClientApiException
Gets the URLs accessed through/by ZAP- Throws:
ClientApiException
-
snapshotSession
public ApiResponse snapshotSession() throws ClientApiException
- Throws:
ClientApiException
-
-