MCPcopy Create free account
hub / github.com/EsperoTech/yaade / updateRaw

Method updateRaw

server/src/main/java/com/postman/collection/Url.java:349–364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 }
348
349 private void updateRaw() {
350 StringBuilder sbRaw = new StringBuilder();
351 sbRaw.append(this.protocol);
352 for (String curHost : this.getHosts()) {
353 sbRaw.append("/" + curHost);
354 }
355 for (String curPath : this.getPaths()) {
356 sbRaw.append("/" + curPath);
357 }
358
359 if (this.query != null) {
360 sbRaw.append("?" + this.getQueryString());
361 }
362 this.raw = sbRaw.toString();
363
364 }
365
366
367 /**

Callers

nothing calls this directly

Calls 5

getHostsMethod · 0.95
getPathsMethod · 0.95
getQueryStringMethod · 0.95
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected