MCPcopy 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

setUpMethod · 0.95
cleanUpMethod · 0.95
processHttpMethod · 0.95
hookApiImplementorsMethod · 0.95
unhookMethod · 0.95
getAntiCsrfFormUrlMethod · 0.95
handleApiActionMethod · 0.95
getNetworkImplementorMethod · 0.95
handleApiViewMethod · 0.95
generateReportMethod · 0.95

Calls 1

newInstanceMethod · 0.95

Tested by 4

setUpMethod · 0.76
cleanUpMethod · 0.76
setupMethod · 0.36
setupMethod · 0.36