@Test public void testRootResource() { Response response = request("/", Versions.KAFKA_V2_JSON).get(); assertOKResponse(response, Versions.KAFKA_V2_JSON); Map<String, String> decoded = TestUtils.tryReadEntityOrLog(response, new GenericType<Map<String, String>>() { }); }
@GET @PerformanceMetric("root.get+v2") public Map<String, String> get() { return new HashMap<String, String>(); }
RootResource { @GET @PerformanceMetric("root.get+v2") public Map<String, String> get() { return new HashMap<String, String>(); } }
RootResource { @GET @PerformanceMetric("root.get+v2") public Map<String, String> get() { return new HashMap<String, String>(); }  }
RootResource { @GET @PerformanceMetric("root.get+v2") public Map<String, String> get() { return new HashMap<String, String>(); }  @GET @PerformanceMetric("root.get+v2") Map<String, String> get(); @POST @PerformanceMetric("root.post+v2") Map<String, String> post(@Valid Map<String, String> request); }
RootResource { @GET @PerformanceMetric("root.get+v2") public Map<String, String> get() { return new HashMap<String, String>(); }  @GET @PerformanceMetric("root.get+v2") Map<String, String> get(); @POST @PerformanceMetric("root.post+v2") Map<String, String> post(@Valid Map<String, String> request);  }