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

Method setQuery

zap/src/main/java/org/apache/commons/httpclient/URI.java:3307–3314  ·  view source on GitHub ↗

Set the query. When a query string is not misunderstood the reserved special characters ("&", "=", "+", ",", and "$") within a query component, it is recommended to use in encoding the whole query with this method. The additional APIs for the special purpose using by the reserved special

(String query)

Source from the content-addressed store, hash-verified

3305 * @see #encode
3306 */
3307 public void setQuery(String query) throws URIException {
3308 if (query == null || query.length() == 0) {
3309 _query = (query == null) ? null : query.toCharArray();
3310 setURI();
3311 return;
3312 }
3313 setRawQuery(encode(query, allowed_query, getProtocolCharset()));
3314 }
3315
3316
3317 /**

Callers 9

mutateHttpMethodMethod · 0.95
analyseMethod · 0.95
getPathRegexMethod · 0.95
isFileExistMethod · 0.95
setGetParamsMethod · 0.80
addMethod · 0.80
getListMethod · 0.80
setParameterMethod · 0.80

Calls 5

setURIMethod · 0.95
setRawQueryMethod · 0.95
encodeMethod · 0.95
getProtocolCharsetMethod · 0.95
lengthMethod · 0.45

Tested by

no test coverage detected