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

Method setQueryELement

server/src/main/java/com/postman/collection/Url.java:471–479  ·  view source on GitHub ↗

@param element @param index @throws IllegalPropertyAccessException

(Property element, int index)

Source from the content-addressed store, hash-verified

469 * @throws IllegalPropertyAccessException
470 */
471 public void setQueryELement(Property element, int index) throws IllegalPropertyAccessException {
472 if (this.query == null) {
473 this.query = new PropertyList<Property>();
474 }
475 if (index < 0 || index > this.query.size() + 1) {
476 throw new IllegalPropertyAccessException("Index [" + index + "] is out of bounds");
477 }
478 this.query.set(index, element);
479 }
480
481 /**
482 * Get the raw query string for this URL.

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected