Class ModelHelper
- java.lang.Object
-
- org.glassfish.jersey.server.model.internal.ModelHelper
-
public final class ModelHelper extends Object
Common model helper methods.- Author:
- Michal Gajdos, Constantino Cronemberger (ccronemberger at yahoo.com.br)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
getAnnotatedResourceClass(Class<?> resourceClass)
Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Path
annotation.
-
-
-
Method Detail
-
getAnnotatedResourceClass
public static Class<?> getAnnotatedResourceClass(Class<?> resourceClass)
Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Path
annotation.- Parameters:
resourceClass
- resource class.- Returns:
- resource class or it's ancestor that is annotated with the
@Path
annotation.
-
-