Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zaproxy/zaproxy
/ getInstance
Method
getInstance
zap/src/main/java/org/zaproxy/zap/extension/api/API.java:149–154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
147
}
148
149
public
static
API getInstance() {
150
if
(api == null) {
151
newInstance();
152
}
153
return
api;
154
}
155
156
/**
157
* Registers the given {@code ApiImplementor} to the ZAP API.
Callers
15
setUp
Method · 0.95
cleanUp
Method · 0.95
processHttp
Method · 0.95
hookApiImplementors
Method · 0.95
unhook
Method · 0.95
isButtonEnabledForHistoryReference
Method · 0.95
getAntiCsrfFormUrl
Method · 0.95
getApiPathWithNonceParam
Method · 0.95
handleApiAction
Method · 0.95
getNetworkImplementor
Method · 0.95
handleApiView
Method · 0.95
generateReport
Method · 0.95
Calls
1
newInstance
Method · 0.95
Tested by
4
setUp
Method · 0.76
cleanUp
Method · 0.76
setup
Method · 0.36
setup
Method · 0.36