-
Enhancement
-
Resolution: Done
-
Major
-
7.1.0.CR1
In ResourceMethodRegistry.class, we have a method addResourceFactory which processes the resource methods of the class :
public void addResourceFactory(ResourceFactory ref, String base, Class<?>[] classes) { //Some code here // https://issues.jboss.org/browse/JBPAPP-7871 for (Class<?> clazz : classes) { for (Method method : getDeclaredMethods(clazz)) { Method _method = findAnnotatedMethod(clazz, method); if (_method != null && !java.lang.reflect.Modifier.isPublic(_method.getModifiers())) { LogMessages.LOGGER.JAXRSAnnotationsFoundAtNonPublicMethod(method.getDeclaringClass().getName(), method.getName()); } }
In this method, there are checks for JAXRS annotations on public/private method.
Similarly, the "protected void processMethod(ResourceFactory rf, String base, ResourceLocator method)" of ResourceMethodRegistry class processes the resource-methods and resource-locators. Is it possible to add a warn message in the EAP logs if REST methods are having ambiguous paths?
- clones
-
RESTEASY-1712 Provide warning msg for ambiguous @Path for sub-resouce/sub-resource locator
- Closed
- is incorporated by
-
JBEAP-14840 [GSS](7.1.z) Upgrade RESTEasy from 3.0.25.Final to 3.0.26.Final
- Closed