Class ModelHelper
java.lang.Object
org.glassfish.jersey.server.model.internal.ModelHelper
Common model helper methods.
- Author:
- Michal Gajdos, Constantino Cronemberger (ccronemberger at yahoo.com.br)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?> getAnnotatedResourceClass(Class<?> resourceClass) Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Pathannotation.
-
Method Details
-
getAnnotatedResourceClass
Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Pathannotation.- Parameters:
resourceClass- resource class.- Returns:
- resource class or it's ancestor that is annotated with the
@Pathannotation.
-