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

Method explodeAPIPath

test/tsd/TestHttpQuery.java:239–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237 }
238
239 @Test
240 public void explodeAPIPath() {
241 final HttpQuery query = NettyMocks.getQuery(tsdb,
242 "/api/v1/put?param=value&param2=value2");
243 final String[] path = query.explodeAPIPath();
244 assertNotNull(path);
245 assertEquals("put", path[0]);
246 }
247
248 @Test
249 public void explodeAPIPathNoVersion() {

Callers

nothing calls this directly

Calls 2

getQueryMethod · 0.95
explodeAPIPathMethod · 0.95

Tested by

no test coverage detected