MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / getQueryStringParam

Method getQueryStringParam

src/tsd/AbstractHttpQuery.java:220–223  ·  view source on GitHub ↗

Returns the value of the given query string parameter. If this parameter occurs multiple times in the URL, only the last value is returned and others are silently ignored. @param paramname Name of the query string parameter to get. @return The value of the parameter or null if this param

(final String paramname)

Source from the content-addressed store, hash-verified

218 * wasn't passed in the URI.
219 */
220 public String getQueryStringParam(final String paramname) {
221 final List<String> params = getQueryString().get(paramname);
222 return params == null ? null : params.get(params.size() - 1);
223 }
224
225 /**
226 * Returns the non-empty value of the given required query string parameter.

Callers 15

formatQueryAsyncV1Method · 0.45
serializeJSONMethod · 0.45
formatNotFoundV1Method · 0.45
formatErrorV1Method · 0.45
processDataPointMethod · 0.45
handleAssignMethod · 0.45
handleTSMetaMethod · 0.45
parseUIDMetaQSMethod · 0.45
handleRenameMethod · 0.45
parseTSMetaQSMethod · 0.45
parseQSMethod · 0.45

Calls 3

getQueryStringMethod · 0.95
sizeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected