@Test public void httpMethods() throws Exception { assertThat(parseAndValidateMetadata(Methods.class, "post").template()) .hasMethod("POST"); assertThat(parseAndValidateMetadata(Methods.class, "put").template()) .hasMethod("PUT"); assertThat(parseAndValidateMetadata(Methods.class, "get").template()) .hasMethod("GET"); assertThat(parseAndValidateMetadata(Methods.class, "delete").template()) .hasMethod("DELETE"); }
@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();   }