Splash › Forums › Rewrite Users › Rewrite Annotations › Reply To: Rewrite Annotations
Your example https://github.com/ocpsoft/rewrite/blob/master/showcase/rest-ws/src/main/java/org/ocpsoft/rewrite/showcase/rest/RestRewriteConfiguration.java is really good! But how can we combine annotations on class level with annotations on method level? In my Spring example above the class is annotated with @RequestMapping(“/”) and the methods e.g. with @RequestMapping(value = “/demo”, method = RequestMethod.GET). The method’s annotations should complement the class’ one. Do you know what I mean?
If you find our tools useful, please consider making a donation to help us stay online and building software!