@Test @SuppressWarnings("unchecked") public void getWithPathEmpty() { List<ThreadsEndpoint.ThreadInfo> infos = (List<ThreadsEndpoint.ThreadInfo>) endpoint.get("ZZZZZZZZZZZZZZZZZZZZZZZZ"); Assert.assertEquals(0, infos.size()); }
@Override public Object get() { return threads(); }
ThreadsEndpoint implements HttpEndpoint { @Override public Object get() { return threads(); } }
ThreadsEndpoint implements HttpEndpoint { @Override public Object get() { return threads(); }  }
ThreadsEndpoint implements HttpEndpoint { @Override public Object get() { return threads(); }  @Override Object get(); @Override Object get(String path); }
ThreadsEndpoint implements HttpEndpoint { @Override public Object get() { return threads(); }  @Override Object get(); @Override Object get(String path);  }