@Test public void pathAndQueryParams() throws Exception { final MethodMetadata md = parseAndValidateMetadata(WithPathAndQueryParams.class, "recordsByNameAndType", int.class, String.class, String.class); assertThat(md.template()) .hasQueries(entry("name", asList("{name}")), entry("type", asList("{type}"))); assertThat(md.indexToName()).containsExactly(entry(0, asList("domainId")), entry(1, asList("name")), entry(2, asList("type"))); }
@Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract(); }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract();  }
JAXRSContract extends DeclarativeContract { @Override protected MethodMetadata parseAndValidateMetadata(Class<?> targetType, Method method) { return super.parseAndValidateMetadata(targetType, method); } JAXRSContract();   }