@Test public void regexPathOnMethodOrType() throws Exception { assertThat(parseAndValidateMetadata( PathOnType.class, "pathParamWithRegex", String.class).template()) .hasUrl("/base/regex/{param}"); assertThat(parseAndValidateMetadata( PathOnType.class, "pathParamWithMultipleRegex", String.class, String.class).template()) .hasUrl("/base/regex/{param1}/{param2}"); assertThat(parseAndValidateMetadata( ComplexPathOnType.class, "pathParamWithMultipleRegex", String.class, String.class) .template()) .hasUrl("/{baseparam}/regex/{param1}/{param2}"); }
@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();   }