MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / getString

Method getString

zap/src/main/java/org/parosproxy/paros/core/scanner/Kb.java:97–103  ·  view source on GitHub ↗

Get the first item in KB matching the key as a String. @param key the key for the knowledge base entry @return the entry, or null if not a String or does not exist

(String key)

Source from the content-addressed store, hash-verified

95 * @return the entry, or {@code null} if not a {@code String} or does not exist
96 */
97 public String getString(String key) {
98 Object obj = get(key);
99 if (obj != null && obj instanceof String) {
100 return (String) obj;
101 }
102 return null;
103 }
104
105 public boolean getBoolean(String key) {
106 Object obj = get(key);

Callers 15

parseMethod · 0.45
getHelpMethod · 0.45
updatePathsInConfigMethod · 0.45
loadLocaleMethod · 0.45
upgradeFrom1_4_1Method · 0.45
upgradeFrom2_0_0Method · 0.45
upgradeFrom2_5_0Method · 0.45
newSessionMethod · 0.45
sessionSavedMethod · 0.45
openSessionMethod · 0.45
sessionOpenedMethod · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected