MCPcopy Create free account
hub / github.com/zaproxy/zaproxy / newInstance

Method newInstance

zap/src/main/java/org/zaproxy/zap/extension/api/API.java:142–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 private static final Logger LOGGER = LogManager.getLogger(API.class);
141
142 private static synchronized API newInstance() {
143 if (api == null) {
144 api = new API();
145 }
146 return api;
147 }
148
149 public static API getInstance() {
150 if (api == null) {

Callers 13

getInstanceMethod · 0.95
isValidVersionRangeMethod · 0.45
getImplementorsMethod · 0.45
initDatabaseMethod · 0.45
performActionMethod · 0.45
stringToHtmlMethod · 0.45
responseToXmlMethod · 0.45
toStringMethod · 0.45
copyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected