Class ModelHelper
- java.lang.Object
-
- org.glassfish.jersey.server.model.internal.ModelHelper
-
public final class ModelHelper extends java.lang.Object
Common model helper methods.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ModelHelper()
Prevent instantiation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<?>
getAnnotatedResourceClass(java.lang.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 java.lang.Class<?> getAnnotatedResourceClass(java.lang.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.
-
-