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

Method getQueryPath

src/tsd/AbstractHttpQuery.java:277–279  ·  view source on GitHub ↗

Returns only the path component of the URI as a string This call strips the protocol, host, port and query string parameters leaving only the path e.g. "/path/starts/here" Note that for slightly quicker performance you can call request().getUri() to get the full path as a string but you'll have

()

Source from the content-addressed store, hash-verified

275 * @throws NullPointerException if the URI is null
276 */
277 public String getQueryPath() {
278 return new QueryStringDecoder(request.getUri()).getPath();
279 }
280
281 /**
282 * Returns the path component of the URI as an array of strings, split on the

Callers 6

explodePathMethod · 0.95
getQueryPathAMethod · 0.80
getQueryPathBMethod · 0.80
getQueryPathNullMethod · 0.80
checkAuthorizationMethod · 0.80
getQueryBaseRouteMethod · 0.80

Calls 1

getPathMethod · 0.45

Tested by 3

getQueryPathAMethod · 0.64
getQueryPathBMethod · 0.64
getQueryPathNullMethod · 0.64